开发者

why Keyboard lift tabhost to top?

开发者 https://www.devze.com 2023-03-24 01:45 出处:网络
I 开发者_如何学运维have set a tabhost in the bottom of screen,on the top of screen is a edittext,when i click the editext,the screen keyboard jump up,and lift tabhost to the middle of the screen.i jus

I 开发者_如何学运维have set a tabhost in the bottom of screen,on the top of screen is a edittext,when i click the editext,the screen keyboard jump up,and lift tabhost to the middle of the screen.i just want tabhost keeps in the bottom,even though keyboayd diaplay.


For all facing this problem,

android:windowSoftInputMode="adjustPan|adjustResize"

check this link: SoftKeyboard problem with Tabhost on bottom of screen


Add this attribute of activity tag in your AndroidManifest file for TabActivityClass

android:windowSoftInputMode="adjustPan"
0

精彩评论

暂无评论...
验证码 换一张
取 消