Why does the Android keyboard automatically complete the bottom button layout at the top?

I designed android app layout, bottom layout screen having button and above layout Edittext

, keyboard for Edittext

requestfocus, while bottom button appears on screen.

enter image description here

+3


source to share


2 answers


Define this:

android:windowSoftInputMode="adjustPan|stateHidden"

      



under your activity in AndroidManifest.xml.

+2


source


Use this in your manifest activity



android:windowSoftInputMode="adjustResize|stateHidden" 

      

-1


source







All Articles