summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDave Kover <kover@cyngn.com>2016-01-31 14:47:23 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-08 15:11:20 -0800
commitd24320c102a754c3604f6852a796d1b829a9444a (patch)
tree1d072953e3d5df130a00607b8436c6ca0f48a9a9 /res/layout
parent52400c6f1cd6f582ce7402cac3b099d7d8f3e3b6 (diff)
downloadpackages_apps_Settings-d24320c102a754c3604f6852a796d1b829a9444a.zip
packages_apps_Settings-d24320c102a754c3604f6852a796d1b829a9444a.tar.gz
packages_apps_Settings-d24320c102a754c3604f6852a796d1b829a9444a.tar.bz2
Update textview styles for better theme compatability.
In the battery & notification lights preferences, the textview attached to the custom color is locked to a color which is only visible against light backgrounds. If a theme changes to a dark theme, they are unreadable without modifying a core material style. Let's create a new style that points to a better material style but also allows a themer to change it independently if needed. Change-Id: I039f154282035c5123fddf8c20c18bdb3be90060 Ticket: CYNGNOS-1790
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/preference_application_light.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/res/layout/preference_application_light.xml b/res/layout/preference_application_light.xml
index 9f9135e..14cd4d3 100644
--- a/res/layout/preference_application_light.xml
+++ b/res/layout/preference_application_light.xml
@@ -75,14 +75,16 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
- android:textAppearance="@android:style/TextAppearance.Material.Notification.Line2" />
+ android:layout_marginEnd="6dp"
+ android:textAppearance="@style/TextAppearance.LightTimeValue" />
<TextView
android:id="@+id/textViewTimeOffValue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
- android:textAppearance="@android:style/TextAppearance.Material.Notification.Line2" />
+ android:layout_marginEnd="6dp"
+ android:textAppearance="@style/TextAppearance.LightTimeValue" />
</LinearLayout>
<ImageView