summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout/left_drawer.xml
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/res/layout/left_drawer.xml')
-rw-r--r--vdrmanager/res/layout/left_drawer.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/vdrmanager/res/layout/left_drawer.xml b/vdrmanager/res/layout/left_drawer.xml
new file mode 100644
index 0000000..ad8379a
--- /dev/null
+++ b/vdrmanager/res/layout/left_drawer.xml
@@ -0,0 +1,19 @@
+<?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="240dp"
+ android:layout_height="match_parent"
+ android:layout_gravity="start"
+ android:background="#111"
+ android:choiceMode="singleChoice"
+ android:divider="@android:color/transparent"
+ android:dividerHeight="0dp" />