summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/apptrackers_fragment.xml
diff options
context:
space:
mode:
authorjacquarg <guillaume.jacquart@hoodbrains.com>2022-04-12 18:55:02 +0200
committerjacquarg <guillaume.jacquart@hoodbrains.com>2022-04-12 18:55:02 +0200
commit14815678aaa5020e81f0cca9274f289e6ac7e2d5 (patch)
treed3843d84ed1da95f9f43a34bd1fc82c480b789cf /app/src/main/res/layout/apptrackers_fragment.xml
parentb14d22413713fd865fafb8a53e44fd74017a6279 (diff)
5248 hide whitelist app trackers and fix counts when privacy protection disabled.
Diffstat (limited to 'app/src/main/res/layout/apptrackers_fragment.xml')
-rw-r--r--app/src/main/res/layout/apptrackers_fragment.xml27
1 files changed, 24 insertions, 3 deletions
diff --git a/app/src/main/res/layout/apptrackers_fragment.xml b/app/src/main/res/layout/apptrackers_fragment.xml
index b0b9e71..3eb9168 100644
--- a/app/src/main/res/layout/apptrackers_fragment.xml
+++ b/app/src/main/res/layout/apptrackers_fragment.xml
@@ -60,10 +60,31 @@
android:layout_weight="1"
android:text="@string/apptrackers_block_all_toggle"
/>
- <Switch
- android:id="@+id/block_all_toggle"
+ <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
+ android:layout_height="wrap_content">
+
+ <Switch
+ android:id="@+id/block_all_toggle"
+ android:layout_width="wrap_content"
+ android:layout_height="24dp"
+ android:checked="true"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ />
+ <View
+ android:id="@+id/block_all_toggle_clicker"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ android:clickable="true"
+ />
+ </androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
<View
android:layout_width="match_parent"