summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2019-04-03 15:58:01 -0700
committerJoel Galenson <jgalenson@google.com>2019-04-04 09:15:06 -0700
commit254d4523974cc12ba1aefba3b8dd59383a4f47fb (patch)
treea0e09e5888aebe25a56fd012d2ec6cbe459cb56e /res/values
parent35c8b8d91b2818c7c7b562c74e0be6a2102dc524 (diff)
downloadandroid_packages_apps_PackageInstaller-254d4523974cc12ba1aefba3b8dd59383a4f47fb.tar.gz
android_packages_apps_PackageInstaller-254d4523974cc12ba1aefba3b8dd59383a4f47fb.tar.bz2
android_packages_apps_PackageInstaller-254d4523974cc12ba1aefba3b8dd59383a4f47fb.zip
Make dashboard entries align the same as all other preferences.
With this, the dashboard entries properly align with the newly-styled categories as well as other preferences. Bug: 128439459 Test: View dashboard and measure offset. Change-Id: Ic119f8614916d6c465fbfbe8e2df719d0a19d766 (cherry picked from commit d1e2c21ab05cd0aa3f16045b345322fadd4336d8)
Diffstat (limited to 'res/values')
-rw-r--r--res/values/styles.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index a30380f7..eda5f9b1 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -445,8 +445,10 @@
</style>
<style name="PreferenceUsageImageFrame">
- <item name="android:layout_width">48dp</item>
- <item name="android:layout_height">48dp</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:maxWidth">48dp</item>
+ <item name="android:maxHeight">48dp</item>
<item name="android:gravity">center</item>
</style>