diff options
author | Alex Kershaw <alexkershaw@google.com> | 2020-03-25 20:01:42 +0000 |
---|---|---|
committer | Alex Kershaw <alexkershaw@google.com> | 2020-03-26 16:55:03 +0000 |
commit | f173ccdfd008b1dfae53a128f0ded9bc39e1541c (patch) | |
tree | 0a3798eca379728f42e8b4b15bb80a139a61a8df /res/values | |
parent | 9d57eb5a5efe06fbb1e35bb6119395f60f4b9f97 (diff) | |
download | platform_packages_apps_DocumentsUI-f173ccdfd008b1dfae53a128f0ded9bc39e1541c.tar.gz platform_packages_apps_DocumentsUI-f173ccdfd008b1dfae53a128f0ded9bc39e1541c.tar.bz2 platform_packages_apps_DocumentsUI-f173ccdfd008b1dfae53a128f0ded9bc39e1541c.zip |
Change DocsUI tabs styling to be consistent with other surfaces
Change DocsUI tabs styling to be consistent with share sheet, Settings,
and launcher.
Fixes: 149737528
Bug: 150286830
Test: manual
Change-Id: I3456d32b88dbdcb6023d13165daecbf87419482b
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 4 | ||||
-rw-r--r-- | res/values/styles_text.xml | 5 | ||||
-rw-r--r-- | res/values/themes.xml | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index fb00e168c..b043b9c8e 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -46,4 +46,8 @@ <color name="cross_profile_button_text_color">#1A73E8</color> <color name="empty_state_text">#202124</color> <color name="error_image_color">#757575</color> + + <color name="tab_indicator_color">#1A73E8</color> <!-- Blue 600 --> + <color name="edge_effect_dark">@android:color/black</color> + <color name="edge_effect_light">@android:color/white</color> </resources> diff --git a/res/values/styles_text.xml b/res/values/styles_text.xml index 592df8edf..3ea510c4b 100644 --- a/res/values/styles_text.xml +++ b/res/values/styles_text.xml @@ -114,4 +114,9 @@ <item name="fontFamily">@string/config_fontFamilyMedium</item> </style> + <style name="TabTextAppearance" parent="@android:style/TextAppearance.DeviceDefault.Medium"> + <item name="android:textSize">14sp</item> + <item name="fontFamily">@string/config_fontFamilyMedium</item> + </style> + </resources>
\ No newline at end of file diff --git a/res/values/themes.xml b/res/values/themes.xml index 971fa1f0d..806e5d67a 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -72,4 +72,8 @@ <item name="queryBackground">@color/menu_search_background</item> <item name="snackbarButtonStyle">@style/SnackbarButtonStyle</item> </style> + + <style name="TabTheme" parent="@style/Theme.MaterialComponents.DayNight"> + <item name="colorPrimary">@color/edge_effect_light</item> + </style> </resources> |