Introduce and Switch to mikepenz/MaterialDrawer
This commit is contained in:
17
OpenKeychain/src/main/res/layout/main_activity.xml
Normal file
17
OpenKeychain/src/main/res/layout/main_activity.xml
Normal 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>
|
||||
9
OpenKeychain/src/main/res/layout/main_drawer_header.xml
Normal file
9
OpenKeychain/src/main/res/layout/main_drawer_header.xml
Normal 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>
|
||||
Reference in New Issue
Block a user