Skip to content Skip to sidebar Skip to footer

Android Edittext Keyboard Changed After Settext()

If I want to enter a message into an editText, I enter some digits and my keyboard looks like that: but after I add some text from code by clicking the button (et.setText(et.getTe

Solution 1:

I've used editable.append instead of et.setText() and this works

Solution 2:

You should set input type in your EditText (for example by using "android:inputType" in xml file containing the layout).

See: http://developer.android.com/reference/android/widget/TextView.html#attr_android:inputType

Post a Comment for "Android Edittext Keyboard Changed After Settext()"