aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/abstract_activity.xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-06-05 17:39:57 -0700
committerScott Jackson <daneren2005@gmail.com>2015-06-05 17:39:57 -0700
commite62cbdae5a41909a03652ae4a967a4e72fe96748 (patch)
treecb8ab4ad69d8b6495ee1a8db079aa57159f76803 /app/src/main/res/layout/abstract_activity.xml
parentd79f241c64ffa21ebbaacb918f50300515522bbd (diff)
downloaddsub-e62cbdae5a41909a03652ae4a967a4e72fe96748.tar.gz
dsub-e62cbdae5a41909a03652ae4a967a4e72fe96748.tar.bz2
dsub-e62cbdae5a41909a03652ae4a967a4e72fe96748.zip
#493 Switch from ListView to NavigationView + move server selection logic into drawer
Diffstat (limited to 'app/src/main/res/layout/abstract_activity.xml')
-rw-r--r--app/src/main/res/layout/abstract_activity.xml15
1 files changed, 7 insertions, 8 deletions
diff --git a/app/src/main/res/layout/abstract_activity.xml b/app/src/main/res/layout/abstract_activity.xml
index be65e437..f012f484 100644
--- a/app/src/main/res/layout/abstract_activity.xml
+++ b/app/src/main/res/layout/abstract_activity.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -9,13 +10,11 @@
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.design.widget.NavigationView
+ android:id="@+id/left_drawer"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_gravity="start"/>
</android.support.v4.widget.DrawerLayout>