开发者

Virtual keyboard issue in android

开发者 https://www.devze.com 2023-02-16 04:41 出处:网络
In my android application i would like开发者_JAVA技巧 to use a Linearlayout at the bottom of the parent and just above that a scrollview with a edittext in it.

In my android application i would like开发者_JAVA技巧 to use a Linearlayout at the bottom of the parent and just above that a scrollview with a edittext in it. when a touch on the edittext a virtual keyboard pops up with both edittext and linearlayout aligned at the bottom. I would like to view only the edittext and not the footer linearlayout on the top.

Is there anyway that i can get it done in android.

Please share your valuable suggestions.

Thanks in advance :)


add this to your activity tag in manifest

android:windowSoftInputMode="adjustPan"


Is the LinearLayout at the bottom with alignParentBottom = true? It should not, in your situation.

0

精彩评论

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