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

Commit ce873731 authored by Dave Kover's avatar Dave Kover Committed by Clark Scheff
Browse files

Expose values for themes.

Move category margin dimension to exposed value. Add background
to category title textview and make value accessible via
cm_colors. Clean up formatting in cm_colors.

Ticket: CYNGNOS-2154
Change-Id: Ie9241cae3ea067fccbedd43231b52e3c80f8bd97
(cherry picked from commit fb52740b)
parent d0eed06d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
        android:paddingEnd="@dimen/dashboard_category_padding_end"
        android:orientation="vertical"
        android:background="@color/dashboard_category_background_color"
        android:layout_marginBottom="8dip"
        android:layout_marginBottom="@dimen/dashboard_category_margin_bottom"
        android:elevation="@dimen/dashboard_category_elevation">

    <TextView android:id="@+id/category_title"
@@ -34,6 +34,7 @@
            android:gravity="center_vertical"
            android:textAppearance="@style/TextAppearance.CategoryTitle"
            android:textAlignment="viewStart"
            android:background="@color/dashboard_category_title_bg_color"
            />

    <com.android.settings.dashboard.DashboardContainerView
+3 −0
Original line number Diff line number Diff line
@@ -99,4 +99,7 @@ limitations under the License.
    <!-- App Name Text Color -->
    <color name="app_name_text_color">@color/text_color_white</color>

    <!-- Dashboard Category Title Background Color -->
    <color name="dashboard_category_title_bg_color">@android:color/transparent</color>

</resources>
+3 −0
Original line number Diff line number Diff line
@@ -22,4 +22,7 @@
    <dimen name="pa_security_width">320dp</dimen>
    <!-- Height of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) -->
    <dimen name="pa_security_height">400dp</dimen>

    <!-- Dashboard Category Margin Bottom -->
    <dimen name="dashboard_category_margin_bottom">8dip</dimen>
</resources>