diff options
author | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2022-11-18 07:21:50 +0000 |
---|---|---|
committer | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2022-11-18 07:21:50 +0000 |
commit | 84bdb74c79a41c90d4d374bf5eb963191de3e7b3 (patch) | |
tree | 1b81bc5228aa8c722ca8df289cd9f93c2104522f /app/src/main/res/layout/widget.xml | |
parent | 82e1bee1454fe5f8bc6653344da76b35f1d3d8a3 (diff) | |
parent | 2ee502ad3dbfd42c09a88212f5bd179fc531e2e6 (diff) |
Merge branch '568-individuals_activation_buttons' into 'main'
568: individuals buttons to activate trackers control, fake location and Hide my ip
See merge request e/os/advanced-privacy!102
Diffstat (limited to 'app/src/main/res/layout/widget.xml')
-rw-r--r-- | app/src/main/res/layout/widget.xml | 50 |
1 files changed, 35 insertions, 15 deletions
diff --git a/app/src/main/res/layout/widget.xml b/app/src/main/res/layout/widget.xml index 60cbffa..1e78bc7 100644 --- a/app/src/main/res/layout/widget.xml +++ b/app/src/main/res/layout/widget.xml @@ -72,13 +72,6 @@ android:textSize="12sp" android:textColor="@color/on_primary_medium_emphasis" /> - <ImageView - android:id="@+id/toggle_privacy_central" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_switch_disabled" - /> - </LinearLayout> <LinearLayout android:layout_width="match_parent" @@ -92,6 +85,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical" + android:gravity="center_horizontal" > <TextView android:id="@+id/trackers_label" @@ -106,11 +100,19 @@ <TextView android:id="@+id/state_trackers" android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_height="18dp" android:text="@string/dashboard_state_trackers_off" - android:textSize="14sp" + android:textSize="12sp" android:textColor="@color/on_primary_high_emphasis" android:textAllCaps="true" + android:gravity="center" + /> + <ImageView + android:id="@+id/toggle_trackers" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:src="@drawable/ic_switch_disabled" /> </LinearLayout> <LinearLayout @@ -118,6 +120,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical" + android:gravity="center_horizontal" > <TextView android:id="@+id/geolocation_label" @@ -132,11 +135,19 @@ <TextView android:id="@+id/state_geolocation" android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_height="18dp" android:text="@string/dashboard_state_geolocation_off" - android:textSize="14sp" + android:textSize="12sp" android:textColor="@color/on_primary_high_emphasis" android:textAllCaps="true" + android:gravity="center" + /> + <ImageView + android:id="@+id/toggle_location" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:src="@drawable/ic_switch_disabled" /> </LinearLayout> <LinearLayout @@ -144,6 +155,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical" + android:gravity="center_horizontal" > <TextView android:id="@+id/ip_address_label" @@ -158,19 +170,27 @@ <TextView android:id="@+id/state_ip_address" android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_height="18dp" android:text="@string/dashboard_state_ipaddress_off" - android:textSize="14sp" + android:textSize="12sp" android:textColor="@color/on_primary_high_emphasis" android:textAllCaps="true" android:visibility="gone" + android:gravity="center" /> <ProgressBar android:id="@+id/state_ip_address_loader" - android:layout_width="16dp" - android:layout_height="16dp" + android:layout_width="18dp" + android:layout_height="18dp" android:indeterminate="true" android:visibility="visible"/> + <ImageView + android:id="@+id/toggle_ipscrambling" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:src="@drawable/ic_switch_disabled" + /> </LinearLayout> </LinearLayout> |