防止系统键盘把布局推动上去

0515
panqihua 5 years ago
parent b4a74fb6ef
commit 71043fd8d3
  1. 20
      app/src/main/AndroidManifest.xml

@ -11,11 +11,21 @@
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"> android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity android:name=".ui.main.ui.forum.data.ForumDataActivity" /> <activity
<activity android:name=".ui.main.MainMenu" /> android:name=".ui.main.ui.forum.data.ForumDataActivity"
<activity android:name=".ui.resetpwd.ResetPwdActivity" /> android:windowSoftInputMode="adjustPan" />
<activity android:name=".ui.register.RegisterActivity" /> <activity
<activity android:name=".ui.login.LoginActivity"> android:name=".ui.main.MainMenu"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".ui.resetpwd.ResetPwdActivity"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".ui.register.RegisterActivity"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".ui.login.LoginActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

Loading…
Cancel
Save