aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main/res/layout/permission_checkbox.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sample/src/main/res/layout/permission_checkbox.xml')
-rw-r--r--sample/src/main/res/layout/permission_checkbox.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/sample/src/main/res/layout/permission_checkbox.xml b/sample/src/main/res/layout/permission_checkbox.xml
new file mode 100644
index 0000000..6de8296
--- /dev/null
+++ b/sample/src/main/res/layout/permission_checkbox.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingEnd="@dimen/activity_horizontal_margin"
+ android:paddingStart="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin">
+
+ <TextView
+ android:id="@+id/perm_text"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+
+ <CheckBox
+ android:id="@+id/perm_checkbox"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+</LinearLayout> \ No newline at end of file