summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2019-02-27 16:58:57 -0800
committerHyunyoung Song <hyunyoungs@google.com>2019-02-27 16:58:57 -0800
commit72dae7f4ce5e44ffed99b14b9f9a290df0d21b9e (patch)
treef0f88783f8f01e98b4238bd155e0f4fc2be30e73
parent5387c1109c21b05217128ff97b0e0e667a15236f (diff)
downloadandroid_packages_apps_Trebuchet-72dae7f4ce5e44ffed99b14b9f9a290df0d21b9e.tar.gz
android_packages_apps_Trebuchet-72dae7f4ce5e44ffed99b14b9f9a290df0d21b9e.tar.bz2
android_packages_apps_Trebuchet-72dae7f4ce5e44ffed99b14b9f9a290df0d21b9e.zip
Inherit TextAppearance.DeviceDefault for the RRO text font
Bug: 126229665 Change-Id: I54f59f64888847c8a3ce2ea63be12a4c9199bb05
-rw-r--r--res/values/styles.xml11
1 files changed, 4 insertions, 7 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index f0955b3a5..252cae146 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -126,7 +126,7 @@
<style name="WidgetContainerTheme.Dark" />
- <style name="FastScrollerPopup" >
+ <style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault">
<item name="android:layout_width">wrap_content</item>
<item name="android:minWidth">@dimen/fastscroll_popup_width</item>
<item name="android:layout_height">@dimen/fastscroll_popup_height</item>
@@ -142,7 +142,7 @@
</style>
<!-- Base theme for BubbleTextView and sub classes -->
- <style name="BaseIcon">
+ <style name="BaseIcon" parent="@android:style/TextAppearance.DeviceDefault">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_gravity">center</item>
@@ -150,7 +150,6 @@
<item name="android:gravity">center_horizontal</item>
<item name="android:lines">1</item>
<item name="android:textColor">?android:attr/textColorSecondary</item>
- <item name="android:fontFamily">sans-serif-condensed</item>
<item name="android:defaultFocusHighlightEnabled">false</item>
<!-- No shadows in the base theme -->
@@ -158,7 +157,7 @@
</style>
<!-- Icon displayed on the worksapce -->
- <style name="BaseIcon.Workspace">
+ <style name="BaseIcon.Workspace" >
<item name="android:shadowRadius">2.0</item>
<item name="android:shadowColor">?attr/workspaceShadowColor</item>
<item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item>
@@ -190,9 +189,7 @@
<style name="DropTargetButton" parent="DropTargetButtonBase" />
- <style name="TextTitle">
- <item name="android:fontFamily">sans-serif</item>
- </style>
+ <style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" />
<style name="AllAppsEmptySearchBackground">
<item name="android:colorPrimary">#E0E0E0</item>