diff options
| author | Amit Kumar <amitkma@e.email> | 2021-05-03 03:17:11 +0530 |
|---|---|---|
| committer | Amit Kumar <amitkma@e.email> | 2021-05-03 03:17:11 +0530 |
| commit | 0d036a8742f54eb9ea87e64fdce9ab878f58859b (patch) | |
| tree | 2ee2ddab1e61f2d436ce1d4401cbe1b032282e37 /app/src/main/res/layout/item_permission_apps.xml | |
| parent | 75843f012b09f0f11da4aec10be2f378465a94c2 (diff) | |
| download | advanced-privacy-0d036a8742f54eb9ea87e64fdce9ab878f58859b.tar.gz | |
Connect multiple features
Diffstat (limited to 'app/src/main/res/layout/item_permission_apps.xml')
| -rw-r--r-- | app/src/main/res/layout/item_permission_apps.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_permission_apps.xml b/app/src/main/res/layout/item_permission_apps.xml new file mode 100644 index 0000000..aec8fec --- /dev/null +++ b/app/src/main/res/layout/item_permission_apps.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_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingLeft="32dp" + android:paddingRight="32dp" + > + + <ImageView + android:id="@+id/app_icon" + android:layout_width="36dp" + android:layout_height="36dp" + android:layout_alignParentStart="true" + android:layout_centerVertical="true" + android:src="@drawable/ic_facebook" + /> + + <TextView + android:id="@+id/app_title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_toStartOf="@+id/togglePermission" + android:layout_toEndOf="@+id/app_icon" + android:fontFamily="sans-serif-medium" + android:paddingStart="32dp" + android:paddingEnd="32dp" + android:textColor="@color/black" + android:textSize="16sp" + tools:text="Body sensor" + /> + + <Switch + android:id="@+id/togglePermission" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentEnd="true" + android:layout_centerVertical="true" + /> +</RelativeLayout>
\ No newline at end of file |
