Android 将键盘推高,然后调整平移
我想知道是否有一种方法可以将我的scrollView推到比android:WindowsofInputMode=“adjustPan”更高的位置。它现在看起来有点拥挤 这是你应该使用的图片Android 将键盘推高,然后调整平移,android,keyboard,android-edittext,push,adjustpan,Android,Keyboard,Android Edittext,Push,Adjustpan,我想知道是否有一种方法可以将我的scrollView推到比android:WindowsofInputMode=“adjustPan”更高的位置。它现在看起来有点拥挤 这是你应该使用的图片 “android:WindowsOfInputMode=“adjustUnspecified” 布局…检查-->布局高度 <RelativeLayout android:layout_width="match_parent" android:layout_
“android:WindowsOfInputMode=“adjustUnspecified”
布局…检查-->布局高度
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="55dp"
android:background="#F7F7F7"
android:layout_alignParentBottom="true">
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:hint="New Message"
android:textSize="16sp"
android:gravity="center_vertical"
android:background="@drawable/round_corner_msg_box"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:paddingLeft="5dp"
android:paddingStart="5dp"
android:layout_margin="5dp"/>
</RelativeLayout>
将其设置为“adjustUnspecified”不会改变它。不确定您所说的“布局…..检查-->布局和高度”是什么意思