summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_permissions.xml
diff options
context:
space:
mode:
authorAmit Kumar <amitkma@e.email>2021-05-03 03:17:11 +0530
committerAmit Kumar <amitkma@e.email>2021-05-03 03:17:11 +0530
commit0d036a8742f54eb9ea87e64fdce9ab878f58859b (patch)
tree2ee2ddab1e61f2d436ce1d4401cbe1b032282e37 /app/src/main/res/layout/fragment_permissions.xml
parent75843f012b09f0f11da4aec10be2f378465a94c2 (diff)
Connect multiple features
Diffstat (limited to 'app/src/main/res/layout/fragment_permissions.xml')
-rw-r--r--app/src/main/res/layout/fragment_permissions.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_permissions.xml b/app/src/main/res/layout/fragment_permissions.xml
new file mode 100644
index 0000000..9d1e972
--- /dev/null
+++ b/app/src/main/res/layout/fragment_permissions.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/white"
+ >
+
+ <Toolbar
+ android:id="@+id/toolbar"
+ android:layout_width="match_parent"
+ android:layout_height="?android:attr/actionBarSize"
+ android:layout_gravity="top|center"
+ android:background="@color/white"
+ tools:layout_height="56dp"
+ />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:paddingLeft="32dp"
+ android:paddingRight="32dp"
+ android:layout_marginTop="?android:attr/actionBarSize"
+ tools:context=".main.MainActivity"
+ >
+
+ <TextView
+ android:id="@+id/permission_control"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:paddingTop="16dp"
+ android:text="@string/permission_control_info"
+ android:textColor="@color/black"
+ android:textSize="14sp"
+ />
+
+ <TextView
+ android:id="@+id/learn_more_permissions"
+ android:layout_width="wrap_content"
+ android:layout_height="48dp"
+ android:fontFamily="sans-serif-medium"
+ android:gravity="center_vertical"
+ android:text="@string/learn_more"
+ android:textColor="#007fff"
+ android:textSize="14sp"
+ />
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:listitem="@layout/item_permission"
+ android:id="@+id/recylcer_view_permissions"/>
+ </LinearLayout>
+</FrameLayout> \ No newline at end of file