aboutsummaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-10-14 21:59:17 -0700
committerScott Jackson <daneren2005@gmail.com>2013-10-14 21:59:17 -0700
commitb2341df451aaa360e9a9c07d215e2931aef855a6 (patch)
tree913ee402066ddaed9ebac84c1863b490dcc99c9c /res/layout
parente1cf77e0ee66701dc979f4c3f5e38ce0508f5645 (diff)
downloaddsub-b2341df451aaa360e9a9c07d215e2931aef855a6.tar.gz
dsub-b2341df451aaa360e9a9c07d215e2931aef855a6.tar.bz2
dsub-b2341df451aaa360e9a9c07d215e2931aef855a6.zip
#162 Start of convert to pull out drawer
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/abstract_activity.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/layout/abstract_activity.xml b/res/layout/abstract_activity.xml
new file mode 100644
index 00000000..ed16c695
--- /dev/null
+++ b/res/layout/abstract_activity.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.v4.widget.DrawerLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/drawer_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+ <!-- The main content view -->
+ <FrameLayout
+ android:id="@+id/content_frame"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+ <!-- 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"/>
+</android.support.v4.widget.DrawerLayout> \ No newline at end of file