summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShubham Basu <basushubham@google.com>2021-06-08 13:14:23 -0700
committerShubham Basu <basushubham@google.com>2021-06-09 23:29:46 +0000
commitf483e8bdc9a7bdd5bdba6c49bd316741c463e8f7 (patch)
treef8d58f838ba97dee4cafe5cbc2508a99f373ff2b
parent7fe406bda55a43ec85043779198bc1269a0780ef (diff)
downloadplatform_packages_apps_DocumentsUI-f483e8bdc9a7bdd5bdba6c49bd316741c463e8f7.tar.gz
platform_packages_apps_DocumentsUI-f483e8bdc9a7bdd5bdba6c49bd316741c463e8f7.tar.bz2
platform_packages_apps_DocumentsUI-f483e8bdc9a7bdd5bdba6c49bd316741c463e8f7.zip
setting menu item material next text style
Bug: 188819956 Test: manual Screenshot (updated): https://screenshot.googleplex.com/3xwVbLDv9kx3Agp.png Screenshot Android S (updated): https://screenshot.googleplex.com/ux56n6cTPFL4Npn.png Change-Id: I49841424618d7eb13a8fa1af930c16582a4c9d8a
-rw-r--r--res/values/styles_text.xml5
-rw-r--r--res/values/themes.xml1
2 files changed, 6 insertions, 0 deletions
diff --git a/res/values/styles_text.xml b/res/values/styles_text.xml
index 0edaca6ae..8a6ee07a5 100644
--- a/res/values/styles_text.xml
+++ b/res/values/styles_text.xml
@@ -127,4 +127,9 @@
<item name="android:textColor">@color/doc_list_item_subtitle_color</item>
</style>
+ <style name="MenuItemTextAppearance" parent="*android:style/TextAppearance.DeviceDefault.Body2">
+ <item name="android:textSize">14sp</item>
+ <item name="fontFamily">@string/config_fontFamily</item>
+ </style>
+
</resources> \ No newline at end of file
diff --git a/res/values/themes.xml b/res/values/themes.xml
index 59ddec056..5a5ae09fa 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -74,6 +74,7 @@
<item name="materialAlertDialogTheme">@style/MaterialAlertDialogTheme</item>
<item name="queryBackground">@color/menu_search_background</item>
<item name="snackbarButtonStyle">@style/SnackbarButtonStyle</item>
+ <item name="android:itemTextAppearance">@style/MenuItemTextAppearance</item>
</style>
<style name="TabTheme" parent="@style/Theme.MaterialComponents.DayNight">