summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2018-01-08 15:49:34 +0100
committerFup Duck <fupduck@sacknagel.com>2018-01-08 15:49:34 +0100
commitbd99fc61a2e8217c41b70c6f2ff0df87e7008ea0 (patch)
tree3bff12a513159483debedcb377015184aceb2e45 /app/src/main/res/layout
parent4f7200c55032d17c9bdbdb30cfd83dc757c63fe7 (diff)
seperate accountList and settingsList in drawer
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_main.xml2
-rw-r--r--app/src/main/res/layout/drawer_main.xml18
2 files changed, 11 insertions, 9 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index 28c23503..de06efc7 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -33,7 +33,7 @@
the container. -->
<fragment
android:id="@+id/navigation_drawer"
- android:name="se.leap.bitmaskclient.NavigationDrawerFragment"
+ android:name="se.leap.bitmaskclient.drawer.NavigationDrawerFragment"
android:layout_width="@dimen/navigation_drawer_width"
android:layout_height="match_parent"
android:layout_gravity="start"
diff --git a/app/src/main/res/layout/drawer_main.xml b/app/src/main/res/layout/drawer_main.xml
index a2bda8b6..20d826b3 100644
--- a/app/src/main/res/layout/drawer_main.xml
+++ b/app/src/main/res/layout/drawer_main.xml
@@ -5,7 +5,7 @@
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/colorBackground"
- tools:context="se.leap.bitmaskclient.NavigationDrawerFragment">
+ tools:context="se.leap.bitmaskclient.drawer.NavigationDrawerFragment">
<FrameLayout
android:layout_width="match_parent"
@@ -32,21 +32,23 @@
</FrameLayout>
- <LinearLayout
+ <RelativeLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:orientation="vertical">
<ListView
android:id="@+id/accountList"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="wrap_content" />
- <FrameLayout
- android:id="@+id/appActionFrame"
+ <ListView
+ android:id="@+id/settingsList"
android:layout_width="match_parent"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:layout_alignParentBottom="true" />
- </LinearLayout>
+ </RelativeLayout>
</LinearLayout> \ No newline at end of file