diff options
author | Fredrik Ryden <fredrik.ryden@sony.com> | 2018-03-27 13:54:49 +0200 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2018-04-09 09:02:34 -0700 |
commit | dc84a4d9367f1684d5715010ffbc6ec3f7360f8c (patch) | |
tree | 84be6b0784e42c1f815ebc33e8445bce86f49df2 /res | |
parent | 52b23c5d8930c0cb57fbb5228676d7493af9214e (diff) | |
download | android_packages_apps_PackageInstaller-dc84a4d9367f1684d5715010ffbc6ec3f7360f8c.tar.gz android_packages_apps_PackageInstaller-dc84a4d9367f1684d5715010ffbc6ec3f7360f8c.tar.bz2 android_packages_apps_PackageInstaller-dc84a4d9367f1684d5715010ffbc6ec3f7360f8c.zip |
Fixed button bar hiding permissions screen.
The button bar uses windowbackground, which in theory can have
an intrinsic size which affects the size of the bar. Using the
color resource used by default for the windowbackground instead
removes such concerns.
Test: Manual, download .apk file (that requests permissions),
to /sdcard, and do installation from storage settings menu.
Observe that it is possible to install application.
Bug: 77617753
Merged-In: I527b918f699695801e7a35eca262b721c9f6356e
Change-Id: I527b918f699695801e7a35eca262b721c9f6356e
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/install_confirm.xml | 2 | ||||
-rw-r--r-- | res/layout/install_confirm_perm.xml | 2 | ||||
-rw-r--r-- | res/layout/install_confirm_perm_update.xml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/res/layout/install_confirm.xml b/res/layout/install_confirm.xml index 8f10c15c..5e31b512 100644 --- a/res/layout/install_confirm.xml +++ b/res/layout/install_confirm.xml @@ -60,7 +60,7 @@ </ScrollView> <LinearLayout style="?android:attr/buttonBarStyle" - android:background="?android:attr/windowBackground" + android:background="?android:attr/colorBackground" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" diff --git a/res/layout/install_confirm_perm.xml b/res/layout/install_confirm_perm.xml index 048b69de..1d81f3c0 100644 --- a/res/layout/install_confirm_perm.xml +++ b/res/layout/install_confirm_perm.xml @@ -94,7 +94,7 @@ <!-- Bottom buttons --> <LinearLayout style="?android:attr/buttonBarStyle" - android:background="?android:attr/windowBackground" + android:background="?android:attr/colorBackground" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" diff --git a/res/layout/install_confirm_perm_update.xml b/res/layout/install_confirm_perm_update.xml index 7341897d..dd38a143 100644 --- a/res/layout/install_confirm_perm_update.xml +++ b/res/layout/install_confirm_perm_update.xml @@ -118,7 +118,7 @@ <!-- Bottom buttons --> <LinearLayout style="?android:attr/buttonBarStyle" - android:background="?android:attr/windowBackground" + android:background="?android:attr/colorBackground" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" |