summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_dashboard.xml
diff options
context:
space:
mode:
authorRomain Hunault <romain.hunault@e.email>2022-03-23 15:36:21 +0000
committerRomain Hunault <romain.hunault@e.email>2022-03-23 15:36:21 +0000
commit82a45020557916da2a133df297eafc92f9f7c3db (patch)
tree2e12b5e39ac53ae05474c35bd16e2c2070d4a094 /app/src/main/res/layout/fragment_dashboard.xml
parent335e504715d6730f701f5897e4cbc49cfdb9f69c (diff)
parenta9d8b2e6a4c45a62ae0b5cbf1e7682886f4360d1 (diff)
Merge branch 'use_system_resources' into 'main'
Use system theme colors. #5082 See merge request e/privacy-central/privacycentralapp!31
Diffstat (limited to 'app/src/main/res/layout/fragment_dashboard.xml')
-rw-r--r--app/src/main/res/layout/fragment_dashboard.xml24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml
index 97751a1..97fdae3 100644
--- a/app/src/main/res/layout/fragment_dashboard.xml
+++ b/app/src/main/res/layout/fragment_dashboard.xml
@@ -15,7 +15,7 @@
>
<LinearLayout
- android:background="@color/white"
+ android:background="@color/primary"
android:gravity="center_horizontal"
android:layout_height="match_parent"
android:layout_width="match_parent"
@@ -41,7 +41,7 @@
android:layout_weight="1"
android:text="@string/dashboard_state_title_off"
android:textSize="14sp"
- android:textColor="@color/grey_text"
+ android:textColor="@color/secondary_text"
/>
<Switch
android:id="@+id/toggle_privacy_central"
@@ -53,7 +53,7 @@
<View
android:layout_width="match_parent"
android:layout_height="1dp"
- android:background="@color/grey_divider"
+ android:background="@color/divider"
/>
@@ -77,7 +77,7 @@
android:layout_height="wrap_content"
android:text="@string/dashboard_state_trackers_label"
android:textSize="12sp"
- android:textColor="@color/grey_text"
+ android:textColor="@color/secondary_text"
android:layout_marginBottom="8dp"
/>
<TextView
@@ -86,7 +86,7 @@
android:layout_height="wrap_content"
android:text="@string/dashboard_state_trackers_off"
android:textSize="12sp"
- android:textColor="@color/black_text"
+ android:textColor="@color/primary_text"
android:textAllCaps="true"
/>
</LinearLayout>
@@ -102,7 +102,7 @@
android:layout_height="wrap_content"
android:text="@string/dashboard_state_geolocation_label"
android:textSize="12sp"
- android:textColor="@color/grey_text"
+ android:textColor="@color/secondary_text"
android:layout_marginBottom="8dp"
/>
<TextView
@@ -111,7 +111,7 @@
android:layout_height="wrap_content"
android:text="@string/dashboard_state_geolocation_off"
android:textSize="12sp"
- android:textColor="@color/black_text"
+ android:textColor="@color/primary_text"
android:textAllCaps="true"
/>
</LinearLayout>
@@ -127,7 +127,7 @@
android:layout_height="wrap_content"
android:text="@string/dashboard_state_ipaddress_label"
android:textSize="12sp"
- android:textColor="@color/grey_text"
+ android:textColor="@color/secondary_text"
android:layout_marginBottom="8dp"
/>
<TextView
@@ -136,7 +136,7 @@
android:layout_height="wrap_content"
android:text="@string/dashboard_state_ipaddress_off"
android:textSize="12sp"
- android:textColor="@color/black_text"
+ android:textColor="@color/primary_text"
android:textAllCaps="true"
android:visibility="gone"
/>
@@ -199,7 +199,7 @@ android:text="@string/dashboard_state_ipaddress_off"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginStart="48dp"
- android:background="@color/grey_divider"
+ android:background="@color/divider"
/>
<include
@@ -214,7 +214,7 @@ android:text="@string/dashboard_state_ipaddress_off"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginStart="48dp"
- android:background="@color/grey_divider"
+ android:background="@color/divider"
/>
<include
@@ -230,7 +230,7 @@ android:text="@string/dashboard_state_ipaddress_off"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginStart="48dp"
- android:background="@color/grey_divider"
+ android:background="@color/divider"
/>
<include