From e83f0555f1a0dc2671162a8a6e3876e591981de6 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Fri, 8 May 2015 15:21:16 -0700 Subject: [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 --- library/eclair-mr1/res/values/styles.xml | 4 ++-- 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 @@ @color/suw_link_color_dark @color/suw_color_secondary_dark @style/Animation.SuwWindowAnimation - adjustPan + adjustResize @color/suw_color_accent_dark @drawable/suw_card_bg_dark @@ -40,7 +40,7 @@ @color/suw_link_color_light @color/suw_color_secondary_light @style/Animation.SuwWindowAnimation - adjustPan + adjustResize @color/suw_color_accent_light @drawable/suw_card_bg_light 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 @@ @color/suw_link_color_dark @color/suw_color_secondary_dark @style/Animation.SuwWindowAnimation - adjustPan + adjustResize @drawable/suw_card_bg @style/SuwNavBarThemeDark @@ -50,7 +50,7 @@ @color/suw_link_color_light @color/suw_color_secondary_light @style/Animation.SuwWindowAnimation - adjustPan + adjustResize @drawable/suw_card_bg @style/SuwNavBarThemeLight -- cgit v1.2.3