Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 786b4963 authored by Dave Kover's avatar Dave Kover
Browse files

SystemUI: Expose weather text colors

Weather text colors in the expanded status bar are hardcoded to
white. Expose these via cm_colors so that themes can color them
however they'd like.

A martini. Shaken, not stirred.

Change-Id: I5e5a738c8b97f556562114a66d102fcb924a0493
parent eea8576a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@
            android:layout_height="wrap_content"
            android:paddingEnd="16dp"
            android:gravity="right"
            android:textColor="#ffffff"
            android:textColor="@color/status_bar_temperature_text_color"
            android:textSize="@dimen/weather_text_size"
            android:importantForAccessibility="noHideDescendants"/>
    <TextView
@@ -177,7 +177,7 @@
            android:layout_height="wrap_content"
            android:paddingEnd="16dp"
            android:gravity="right"
            android:textColor="#ffffff"
            android:textColor="@color/status_bar_temperature_location_text_color"
            android:textSize="@dimen/weather_text_size"
            android:importantForAccessibility="noHideDescendants"/>
    </LinearLayout>
+5 −0
Original line number Diff line number Diff line
@@ -53,4 +53,9 @@

    <!-- Quick tile text color when the tile is disabled -->
    <color name="qs_tile_text_disabled">#ff747474</color>

    <!-- Expanded Status Bar Weather Text Colors -->
    <color name="status_bar_temperature_text_color">#FFFFFFFF</color>
    <color name="status_bar_temperature_location_text_color">#FFFFFFFF</color>

</resources>