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

Commit 7b8d1b8c authored by Dave Kover's avatar Dave Kover Committed by Steve Kondik
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 bba427c1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -185,7 +185,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
@@ -194,7 +194,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>
+4 −0
Original line number Diff line number Diff line
@@ -33,4 +33,8 @@
        @color/system_bar_background_transparent
    </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>