Fix insufficient contrast for the strings "Dimmer" and "Brighter" in the light theme
Apply same the sub text style from seekbar preference
Bug: 219752953
Bug: 229722937
Bug: 245093240
Fix: 245093240
Test: Manual testing
Change-Id: If107452b942e23dee17c73873f4aedc3a25c7f5d
(cherry picked from commit a8b9c805a2f46bdfedb0c45d6ec5bc660c5d8172)
diff --git a/res/layout/preference_labeled_slider.xml b/res/layout/preference_labeled_slider.xml
index a11d574..ae7027d 100644
--- a/res/layout/preference_labeled_slider.xml
+++ b/res/layout/preference_labeled_slider.xml
@@ -69,6 +69,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="start|top"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorSecondary"
android:gravity="start"
android:layout_weight="1"/>
@@ -77,6 +79,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="end|top"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorSecondary"
android:gravity="end"
android:layout_weight="1"/>