简体   繁体   English

如何在Android中打开键盘时向上移动我的小部件

[英]How to move my widget up when keyboard open in android

How to move up the widget when keyboard open in when i touch the edit box in full screen mode . 当我在全屏模式下触摸编辑框时,如何在打开键盘时向上移动小部件。 I have use below code but it didn't work so please help me, im totally stuck. 我已经使用了下面的代码,但是没有用,所以请帮助我,即时通讯完全卡住了。
android:windowSoftInputMode="adjustResize" android:windowSoftInputMode =“ adjustResize”
I have use this code and set in manifest but it not work Thanks in advance 我已经使用此代码并设置了清单,但无法正常工作

Try giving: 尝试给予:

    android:windowSoftInputMode="adjustPan" 

in your manifest. 在你的清单上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM