Skip to content

Tag: android-edittext

editText.getText().toString() can’t enter data

I am trying to make an app in which I can add subjects and my grades, currently, I am working on a system for adding subjects. So, I have a button, when pressed it makes an editText “field” in which you can enter the name for the subject. The problem is, when you enter some text and press ENTER, i…

Disable text wrapping in Android

I’m working on a project in Android where I have a TextView (an EditText to be exact) and a setting to enable or disable text wrapping for that view. I have searched the internet (a lot) but still haven’t found any satisfying solution. Currently I’m using a NestedScrollView for the vertical …

Capitalize every word in Edit text while typing

I want to capitilze every word in edit text while typing. My XML:- Now I am using But problem is it is not working in some device. Ex LG tablet. So I decided to do this programatically. So I am using following codes. Here my app getting crash. I found the problem while debugging. Problem is the onTextChanged …