aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/item_app_toggle.xml
diff options
context:
space:
mode:
authorRomain Hunault <romain.hunault@e.email>2021-08-13 10:14:03 +0000
committerRomain Hunault <romain.hunault@e.email>2021-08-13 10:14:03 +0000
commitdaea2f9510ac1af22a4e2e2f3db7c2d6d314008b (patch)
tree2dfcd606e8693a79520f9931e566c237547e7cd1 /app/src/main/res/layout/item_app_toggle.xml
parent97b51f18dcc2f87a9cdd7f482033e30a6282d853 (diff)
parentf522c4615503120b5e62e45405e8c6c3b18e5e4a (diff)
downloadadvanced-privacy-daea2f9510ac1af22a4e2e2f3db7c2d6d314008b.tar.gz
Merge branch 'features/blocker' into 'master'
Add blocker feature See merge request e/privacy-central/privacycentralapp!6
Diffstat (limited to 'app/src/main/res/layout/item_app_toggle.xml')
-rw-r--r--app/src/main/res/layout/item_app_toggle.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_app_toggle.xml b/app/src/main/res/layout/item_app_toggle.xml
new file mode 100644
index 0000000..d0f565f
--- /dev/null
+++ b/app/src/main/res/layout/item_app_toggle.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/item_permission_apps"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:paddingBottom="16dp"
+ android:paddingLeft="32dp"
+ android:paddingRight="32dp"
+ android:paddingTop="16dp"
+ >
+
+ <ImageView
+ android:id="@+id/app_icon"
+ android:layout_alignParentStart="true"
+ android:layout_centerVertical="true"
+ android:layout_height="36dp"
+ android:layout_width="36dp"
+ android:src="@drawable/ic_facebook"
+ />
+
+ <TextView
+ android:fontFamily="sans-serif-medium"
+ android:id="@+id/app_title"
+ android:layout_centerVertical="true"
+ android:layout_height="wrap_content"
+ android:layout_toEndOf="@+id/app_icon"
+ android:layout_toStartOf="@+id/toggle"
+ android:layout_width="match_parent"
+ android:paddingEnd="32dp"
+ android:paddingStart="32dp"
+ android:textColor="@color/black"
+ android:textSize="16sp"
+ tools:text="Body sensor"
+ />
+
+ <Switch
+ android:id="@+id/toggle"
+ android:layout_alignParentEnd="true"
+ android:layout_centerVertical="true"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ />
+</RelativeLayout> \ No newline at end of file