diff options
author | Maurice Lam <yukl@google.com> | 2015-05-08 15:21:16 -0700 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2015-05-08 15:21:16 -0700 |
commit | e83f0555f1a0dc2671162a8a6e3876e591981de6 (patch) | |
tree | bd968b83f06235373d2794bf7e1cc53dce267d2b | |
parent | 3c154790e7c6668c60237bcde0fc6f5fa22884b0 (diff) | |
download | android_frameworks_opt_setupwizard-e83f0555f1a0dc2671162a8a6e3876e591981de6.tar.gz android_frameworks_opt_setupwizard-e83f0555f1a0dc2671162a8a6e3876e591981de6.tar.bz2 android_frameworks_opt_setupwizard-e83f0555f1a0dc2671162a8a6e3876e591981de6.zip |
[SetupWizardLib] Make screens adjustResize by default
Setting adjustPan on screens causes some weird interactions with the
IME. Set adjustResize on all the default SuwThemeMaterial. Moreover,
SystemBarHelper.setImeInsetView requires adjustResize to function
properly as well.
Bug: 20860416
Change-Id: Ia8463a9cc02a8f3d897a3a8aa48380b7c9ad4b5a
-rw-r--r-- | library/eclair-mr1/res/values/styles.xml | 4 | ||||
-rw-r--r-- | library/platform/res/values-v21/styles.xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/eclair-mr1/res/values/styles.xml b/library/eclair-mr1/res/values/styles.xml index e7db9ac..9b6b659 100644 --- a/library/eclair-mr1/res/values/styles.xml +++ b/library/eclair-mr1/res/values/styles.xml @@ -26,7 +26,7 @@ <item name="android:textColorLink">@color/suw_link_color_dark</item> <item name="android:textColorSecondary">@color/suw_color_secondary_dark</item> <item name="android:windowAnimationStyle">@style/Animation.SuwWindowAnimation</item> - <item name="android:windowSoftInputMode">adjustPan</item> + <item name="android:windowSoftInputMode">adjustResize</item> <item name="colorAccent">@color/suw_color_accent_dark</item> <item name="suwCardBackground">@drawable/suw_card_bg_dark</item> @@ -40,7 +40,7 @@ <item name="android:textColorLink">@color/suw_link_color_light</item> <item name="android:textColorSecondary">@color/suw_color_secondary_light</item> <item name="android:windowAnimationStyle">@style/Animation.SuwWindowAnimation</item> - <item name="android:windowSoftInputMode">adjustPan</item> + <item name="android:windowSoftInputMode">adjustResize</item> <item name="colorAccent">@color/suw_color_accent_light</item> <item name="suwCardBackground">@drawable/suw_card_bg_light</item> diff --git a/library/platform/res/values-v21/styles.xml b/library/platform/res/values-v21/styles.xml index 1afe85c..dc9b9b6 100644 --- a/library/platform/res/values-v21/styles.xml +++ b/library/platform/res/values-v21/styles.xml @@ -34,7 +34,7 @@ <item name="android:textColorLink">@color/suw_link_color_dark</item> <item name="android:textColorSecondary">@color/suw_color_secondary_dark</item> <item name="android:windowAnimationStyle">@style/Animation.SuwWindowAnimation</item> - <item name="android:windowSoftInputMode">adjustPan</item> + <item name="android:windowSoftInputMode">adjustResize</item> <item name="suwCardBackground">@drawable/suw_card_bg</item> <item name="suwNavBarTheme">@style/SuwNavBarThemeDark</item> @@ -50,7 +50,7 @@ <item name="android:textColorLink">@color/suw_link_color_light</item> <item name="android:textColorSecondary">@color/suw_color_secondary_light</item> <item name="android:windowAnimationStyle">@style/Animation.SuwWindowAnimation</item> - <item name="android:windowSoftInputMode">adjustPan</item> + <item name="android:windowSoftInputMode">adjustResize</item> <item name="suwCardBackground">@drawable/suw_card_bg</item> <item name="suwNavBarTheme">@style/SuwNavBarThemeLight</item> |