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/fragment_dashboard.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/fragment_dashboard.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_dashboard.xml | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index 8b8792b..cedf569 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -42,12 +42,6 @@ android:textSize="14sp" android:textColor="@color/secondary_text" /> - <Switch - android:id="@+id/toggle_privacy_central" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_margin="16dp" - /> </LinearLayout> <View android:layout_width="match_parent" @@ -69,8 +63,9 @@ android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical" - android:paddingStart="8dp" + android:gravity="center_horizontal" > + <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -89,13 +84,19 @@ android:textColor="@color/primary_text" android:textAllCaps="true" /> + <Switch + android:id="@+id/toggle_trackers" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_margin="12dp" + /> </LinearLayout> <LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical" - android:paddingStart="8dp" + android:gravity="center_horizontal" > <TextView android:layout_width="wrap_content" @@ -115,13 +116,19 @@ android:textColor="@color/primary_text" android:textAllCaps="true" /> + <Switch + android:id="@+id/toggle_location" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_margin="12dp" + /> </LinearLayout> <LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical" - android:paddingStart="8dp" + android:gravity="center_horizontal" > <TextView android:layout_width="wrap_content" @@ -148,6 +155,12 @@ android:text="@string/dashboard_state_ipaddress_off" android:layout_height="16dp" android:indeterminate="true" android:visibility="visible"/> + <Switch + android:id="@+id/toggle_ipscrambling" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_margin="12dp" + /> </LinearLayout> </LinearLayout> |