summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/layout/preference_application_light.xml6
-rw-r--r--res/values/cm_styles.xml6
2 files changed, 9 insertions, 3 deletions
diff --git a/res/layout/preference_application_light.xml b/res/layout/preference_application_light.xml
index 9f9135e05..14cd4d320 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
diff --git a/res/values/cm_styles.xml b/res/values/cm_styles.xml
index fa4f092df..d7fbf0c0f 100644
--- a/res/values/cm_styles.xml
+++ b/res/values/cm_styles.xml
@@ -40,4 +40,8 @@
<item name="android:maxLines">1</item>
<item name="android:layout_gravity">bottom</item>
</style>
-</resources>
+
+ <!-- Style for Notification/Battery light text -->
+ <style name="TextAppearance.LightTimeValue" parent="@android:style/TextAppearance.Material.Caption" />
+
+</resources> \ No newline at end of file