summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_permissions.xml
diff options
context:
space:
mode:
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