Introduce and Switch to mikepenz/MaterialDrawer

This commit is contained in:
vectorijk
2015-04-24 00:00:58 -07:00
parent 702c28854b
commit 3ee2c6fc6a
4 changed files with 154 additions and 25 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.Toolbar
android:id="@+id/activity_main_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"/>
<fragment android:name="org.sufficientlysecure.keychain.ui.KeyListFragment"
android:id="@+id/keys_fragment"
android:layout_gravity="center"
android:layout_height="match_parent"
android:layout_width="match_parent"/>
</LinearLayout>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/drawer_header"
android:adjustViewBounds="true"
android:scaleType="fitCenter">
</ImageView>