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

Commit 9d690bdb authored by jackqdyulei's avatar jackqdyulei
Browse files

Remove hardcoded color for settings dashboard

1. Change card_background to default background color. In settings
light theme, background color is exactly the #fafafa
2. Change card_background_grey to colorSecondary, which is
material_grey_200 in settings light theme.

Bug: 36139640
Test: Screenshot
Change-Id: I20081e768985ce6c0b9000448ae48599f18b293a
parent 5e2545c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,5 +18,5 @@
<ripple
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:color="?android:attr/colorControlHighlight">
    <item android:drawable="@color/card_background"/>
    <item android:drawable="?android:attr/colorBackground"/>
</ripple>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -18,5 +18,5 @@
<ripple
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:color="?android:attr/colorControlHighlight">
    <item android:drawable="@color/card_background_grey"/>
    <item android:drawable="?android:attr/colorSecondary"/>
</ripple>
+1 −2
Original line number Diff line number Diff line
@@ -19,8 +19,7 @@
    android:layout_width="match_parent"
    android:layout_height="@dimen/dashboard_category_height"
    android:orientation="vertical"
    android:paddingBottom="8dip"
    android:background="@color/card_background">
    android:paddingBottom="8dip">

    <TextView android:id="@android:id/title"
        android:layout_width="match_parent"
+1 −1
Original line number Diff line number Diff line
@@ -18,4 +18,4 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="8dp"
    android:background="@color/card_background_grey"/>
    android:background="?android:attr/colorSecondary"/>
+1 −2
Original line number Diff line number Diff line
@@ -27,6 +27,5 @@
    <android.support.v7.widget.RecyclerView
        android:id="@+id/support_items"
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        android:background="@color/card_background"/>
        android:layout_width="match_parent"/>
</FrameLayout>
Loading