android:fillViewport="true"
在ScrollView中添加了
清单文件中设置:
<activity
android:name=".activity.TransferAccountsActivity"
android:configChanges="keyboard"
android:exported="false"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustResize" />
最近在做一个即时聊天的项目,聊天界面点击输入框时,输入框老是被遮挡,设置了android:windowSoftInputMode="adjustResize"
也没用
于是我就百度啊百度,找到很多关于android:windowSoftInputMode
的介绍。哇,看起来不难嘛!