Unproportional keyboard on landscape layout Android

混江龙づ霸主 提交于 2019-12-21 18:34:10

问题


I am having EditText in my LinearLayout. When i am typing text in portrait mode keyboard displays fine but when i changed to landscape mode , only i can editext box and a button on right side of it, that looking really bad.

Just i want to look the keyboard same in both modes.

How i achieve that??

Problem is: Keyboard is filling the entire screen am not able to see other views in the screen in landscape when i want to type text..

Thanks


回答1:


In layout at landscape, you can set android:imeOptions="actionDone|flagNoExtractUi" for edittext



来源:https://stackoverflow.com/questions/6759539/unproportional-keyboard-on-landscape-layout-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!