diff options
author | Weien Wang <weienwang@google.com> | 2019-05-23 01:50:26 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-05-23 01:50:26 -0700 |
commit | 8e1195e27d89f9cbed19eb8a52ad5416e95237d6 (patch) | |
tree | 7f7ca8549c46441d7b46fbbec73800c69c8c1614 | |
parent | d84465f97f465d8e6e46e4c6e017cb3c7a37ff08 (diff) | |
parent | f24f8e1f954d309faa2bdc9edbf8770f46c0a64a (diff) | |
download | android_packages_wallpapers_LivePicker-8e1195e27d89f9cbed19eb8a52ad5416e95237d6.tar.gz android_packages_wallpapers_LivePicker-8e1195e27d89f9cbed19eb8a52ad5416e95237d6.tar.bz2 android_packages_wallpapers_LivePicker-8e1195e27d89f9cbed19eb8a52ad5416e95237d6.zip |
Apply slice style to make the header font size as the same as others.
am: f24f8e1f95
Change-Id: I2345e51c6aad3806c9d633f067f2adcca835471e
-rw-r--r-- | res/layout/page_settings.xml | 1 | ||||
-rw-r--r-- | res/values/styles.xml | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/res/layout/page_settings.xml b/res/layout/page_settings.xml index 5729aa3..d770af3 100644 --- a/res/layout/page_settings.xml +++ b/res/layout/page_settings.xml @@ -21,6 +21,7 @@ <androidx.slice.widget.SliceView android:id="@+id/settings_slice" + style="@style/WallpaperSliceStyle" android:layout_width="match_parent" android:layout_height="wrap_content"/> diff --git a/res/values/styles.xml b/res/values/styles.xml index f23fec8..c0705b2 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -67,4 +67,13 @@ <item name="android:textAllCaps">false</item> <item name="strokeColor">@*android:color/primary_device_default_light</item> </style> + + <style name="WallpaperSliceStyle" parent="@style/Widget.SliceView"> + <item name="headerTitleSize">@*android:dimen/text_size_subhead_material</item> + <item name="headerSubtitleSize">@*android:dimen/text_size_subhead_material</item> + <item name="titleSize">@*android:dimen/text_size_subhead_material</item> + <item name="subtitleSize">@*android:dimen/text_size_caption_material</item> + <item name="gridTitleSize">@*android:dimen/text_size_subhead_material</item> + <item name="gridSubtitleSize">@*android:dimen/text_size_caption_material</item> + </style> </resources> |