Why does the keyboard raise the tab?

I set tabhost at the bottom of the screen, at the top of the screen is the edittext, when I press editext, the on-screen keyboard jumps up and raises the tabhost to the middle of the screen. I just want tabhost to keep at the bottom though keyboayd diaplay.

+4
source share
2 answers

For everyone facing this problem,

android:windowSoftInputMode="adjustPan|adjustResize" 

check this link: SoftKeyboard problem with Tabhost at the bottom of the screen

+17
source

Add this activity tag attribute to the AndroidManifest file for TabActivityClass

 android:windowSoftInputMode="adjustPan" 
+4
source

All Articles