SOFT_INPUT_ADJUST_RESIZE
来源:互联网 发布:java xml与json互转 编辑:程序博客网 时间:2024/05/29 19:11
嵌一个webview 然后在输入框调出 android 软键盘时 一直 被覆盖。
各种调整参数设置了没用。。。
1、有把android:windowSoftInputMode="stateHidden|adjustResize“
2、在webview 外嵌套 一个scroll
3、在webview外嵌套 Linearlayout
种种办法都尝试过,但是效果不大。全屏的窗口下面 会忽略 SOFT_INPUT_ADJUST_RESIZE ,不会进行调整。。
Window flag: hide all screen decorations (such as the status bar) while this window is displayed. This allows the window to use the entire display space for itself -- the status bar will be hidden when an app window with this flag set is on the top layer. A fullscreen window will ignore a value of SOFT_INPUT_ADJUST_RESIZE for the window's softInputMode field; the window will stay fullscreen and will not resize.
意思是说
全屏的窗口下面 会忽略 SOFT_INPUT_ADJUST_RESIZE ,不会进行调整。。
回想之下 ,我的webview 所在的activity 就是设置的全屏。。。
断然去掉 全屏设置,结果一切正常!
各种调整参数设置了没用。。。
1、有把android:windowSoftInputMode="stateHidden|adjustResize“
2、在webview 外嵌套 一个scroll
3、在webview外嵌套 Linearlayout
种种办法都尝试过,但是效果不大。全屏的窗口下面 会忽略 SOFT_INPUT_ADJUST_RESIZE ,不会进行调整。。
Window flag: hide all screen decorations (such as the status bar) while this window is displayed. This allows the window to use the entire display space for itself -- the status bar will be hidden when an app window with this flag set is on the top layer. A fullscreen window will ignore a value of SOFT_INPUT_ADJUST_RESIZE for the window's softInputMode field; the window will stay fullscreen and will not resize.
意思是说
全屏的窗口下面 会忽略 SOFT_INPUT_ADJUST_RESIZE ,不会进行调整。。
回想之下 ,我的webview 所在的activity 就是设置的全屏。。。
断然去掉 全屏设置,结果一切正常!
0 0
- SOFT_INPUT_ADJUST_RESIZE
- Android SoftInputMode为SOFT_INPUT_ADJUST_RESIZE(adjustResize)时没有resize动画的问题
- jquery 对象和dom对象
- THinKPHP函数库全解
- 解决VS内置IIS Express 连接Oracle失败问题
- Android Studio教程从入门到精通1
- 博客发在win10.me
- SOFT_INPUT_ADJUST_RESIZE
- 月TOP 模型-季度到年
- (翻译)2016美国数学建模MCM D题 翻译:测量协会信息网络的演变和影响
- Android 打包自定义JAR包
- Python变量访问范围
- Android 随输查询AutoCompleteTextView
- 使用Solr索引MySQL数据
- webview内容适应
- AJAX Validation