DroidFish: Use a drawer layout instead of the options menu.

This commit is contained in:
Peter Osterlund 2015-12-24 11:39:37 +01:00
parent db450cf1b1
commit 5df627a69d
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="12dp"
android:textSize="20sp">
</TextView>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/left_drawer"
android:tag="drawer"
android:layout_width="280dp"
android:layout_height="match_parent"
android:layout_gravity="left"
android:choiceMode="singleChoice"
android:background="#F0282828"
android:dividerHeight="1dp" />

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/right_drawer"
android:tag="drawer"
android:layout_width="280dp"
android:layout_height="match_parent"
android:layout_gravity="right"
android:choiceMode="singleChoice"
android:background="#F0282828"
android:dividerHeight="1dp" />