Skip to content

Commit

Permalink
UI 优化
Browse files Browse the repository at this point in the history
UI: 修复设置页面输入框不避开软键盘的问题
  • Loading branch information
xz-dev committed Dec 3, 2019
1 parent e4cff3e commit ad052c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
minSdkVersion 21
targetSdkVersion 29
versionCode 30
versionName "0.1.0-rc"
versionName "0.1.0-rc.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
sourceSets {
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
android:name="net.xzos.upgradeAll.ui.activity.MainActivity"
android:label="@string/app_name"
android:launchMode="singleTask"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustResize">
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
android:id="@+id/drawerLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:openDrawer="start">

<include
Expand Down

0 comments on commit ad052c3

Please sign in to comment.