aboutsummaryrefslogtreecommitdiff
path: root/res/layout/static_drawer_activity.xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-04-01 20:00:19 -0700
committerScott Jackson <daneren2005@gmail.com>2015-04-01 20:00:19 -0700
commitb92cc3e2ac69ceb975f69a5183fb3741db6a2b1c (patch)
tree7951df29e15c78cf71db59a19fd8113a939aa901 /res/layout/static_drawer_activity.xml
parent88f5e55e4f3cd9159f8153abcb78bb9ea97ae999 (diff)
downloaddsub-b92cc3e2ac69ceb975f69a5183fb3741db6a2b1c.tar.gz
dsub-b92cc3e2ac69ceb975f69a5183fb3741db6a2b1c.tar.bz2
dsub-b92cc3e2ac69ceb975f69a5183fb3741db6a2b1c.zip
Keep drawer displayed for TV layouts
Diffstat (limited to 'res/layout/static_drawer_activity.xml')
-rw-r--r--res/layout/static_drawer_activity.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/res/layout/static_drawer_activity.xml b/res/layout/static_drawer_activity.xml
new file mode 100644
index 00000000..db631540
--- /dev/null
+++ b/res/layout/static_drawer_activity.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/drawer_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
+
+ <!-- The navigation drawer -->
+ <ListView android:id="@+id/left_drawer"
+ android:layout_width="240dp"
+ android:layout_height="match_parent"
+ android:layout_gravity="start"
+ android:choiceMode="singleChoice"
+ android:divider="@android:color/transparent"
+ android:dividerHeight="0dp"
+ android:background="?android:windowBackground"/>
+
+ <!-- The main content view -->
+ <FrameLayout
+ android:id="@+id/content_frame"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+</LinearLayout> \ No newline at end of file