Skip to content Skip to sidebar Skip to footer

How Do I Make An Edittext Raise Along With The Keyboard When In Focus?

Just like in texting applications, I want the keyboard to push the dialog box up when it raises. The issue I'm currently having is that the keyboard actually raises over my dialog

Solution 1:

Use a RelativeLayout and place your EditText using android:layout_alignParentBottom="true" it should then raise automatically when the keyboard is shown.

Solution 2:

//try windowsoftinput mode in your manifest xml file.

android:windowSoftInputMode="adjustResize"

adjustResize 0x10 Always resize the window: the content area of the window is reduced to make room for the soft input area

.

ref this

Post a Comment for "How Do I Make An Edittext Raise Along With The Keyboard When In Focus?"