aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/drawer_list.xml
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain/src/main/res/layout/drawer_list.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/drawer_list.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/drawer_list.xml b/OpenKeychain/src/main/res/layout/drawer_list.xml
new file mode 100644
index 000000000..ab00c0073
--- /dev/null
+++ b/OpenKeychain/src/main/res/layout/drawer_list.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ android:layout_gravity="start" tells DrawerLayout to treat
+ this as a sliding drawer on the left side for left-to-right
+ languages and on the right side for right-to-left languages.
+ The drawer is given a fixed width in dp and extends the full height of
+ the container. A solid background is used for contrast
+ with the content view.
+-->
+<ListView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/left_drawer"
+ android:layout_width="@dimen/drawer_size"
+ android:layout_height="match_parent"
+ android:layout_gravity="start"
+ android:background="@color/white"
+ android:choiceMode="singleChoice"
+ android:divider="@color/bg_gray"
+ android:dividerHeight="1dp" />