当用软键盘输入时输入框被键盘遮挡的问题
2011-04-19 16:17
381 查看
解决方案:
在我们的LinearLayout布局外添加ScrollView
示例:
由原来的:
改为:
2011-04-19
在我们的LinearLayout布局外添加ScrollView
示例:
由原来的:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> ...... </LinearLayout>
改为:
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> ...... </LinearLayout> </ScrollView>
2011-04-19
相关文章推荐
- Android输入框被键盘遮挡的问题
- Android弹出软键盘遮挡输入框问题.
- 通用方法解决UITextFiled输入的时候,键盘遮挡问题
- 键盘遮挡输入框的问题
- [IOS]列表选择以及键盘遮挡输入框问题
- react在安卓中输入框被手机键盘遮挡问题的解决方法
- 关于android输入框被键盘遮挡的问题
- iOS学习——键盘弹出遮挡输入框问题解决方案
- 如何解决键盘遮挡输入框问题
- h5键盘遮挡输入框问题 、模仿微信输入框失去焦点时隐藏iphone的软键盘和聚焦时出现输入框
- 解决iOS键盘弹出遮挡输入框问题
- React Native TextInput键盘遮挡输入款问题
- IOS学习笔记36—解决键盘遮挡输入框(UITextField)问题
- Android WebView中软键盘会遮挡输入框相关问题
- app弹出输入法软件的时候,遮挡住输入框问题的解决方案
- 修复ios上第三方输入法弹出时输入键盘盖住网页没有进行相应滚动从而盖住表单输入框的问题
- 弹出键盘时遮挡输入框的问题解决
- iOS开发 键盘遮挡输入框(TextView、TextField)问题
- iOS键盘弹出遮挡输入框问题
- 键盘遮挡输入框的问题