summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_dashboard.xml
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-11-18 07:21:49 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-11-18 07:21:49 +0000
commit2ee502ad3dbfd42c09a88212f5bd179fc531e2e6 (patch)
tree1b81bc5228aa8c722ca8df289cd9f93c2104522f /app/src/main/res/layout/fragment_dashboard.xml
parent82e1bee1454fe5f8bc6653344da76b35f1d3d8a3 (diff)
568: individuals buttons to activate trackers control, fake location and Hide my ip
Diffstat (limited to 'app/src/main/res/layout/fragment_dashboard.xml')
-rw-r--r--app/src/main/res/layout/fragment_dashboard.xml31
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>