diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-04-25 13:59:56 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-04-25 13:59:56 +0200 |
commit | de575a618a9a394d70111324cba2455a74d6269c (patch) | |
tree | 3071dcb7008b2be3bd6dc69229f60fd94d5d2738 /OpenKeychain/src/main/res | |
parent | 9c174ff71dd5cf0bfdb1ae22d41abeda25eef913 (diff) | |
parent | b323fc29c29ec2a7cba87ed19c7809b843a1fd60 (diff) | |
download | open-keychain-de575a618a9a394d70111324cba2455a74d6269c.tar.gz open-keychain-de575a618a9a394d70111324cba2455a74d6269c.tar.bz2 open-keychain-de575a618a9a394d70111324cba2455a74d6269c.zip |
Merge pull request #1220 from vectorijk/SwitchToMaterialDrawer
Switch to MaterialDrawer library
Diffstat (limited to 'OpenKeychain/src/main/res')
-rw-r--r-- | OpenKeychain/src/main/res/layout/main_activity.xml | 19 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/layout/main_drawer_header.xml | 9 |
2 files changed, 28 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/main_activity.xml b/OpenKeychain/src/main/res/layout/main_activity.xml new file mode 100644 index 000000000..4a07053ea --- /dev/null +++ b/OpenKeychain/src/main/res/layout/main_activity.xml @@ -0,0 +1,19 @@ +<?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:elevation="4dp" + android:background="?attr/colorPrimary"/> + + <FrameLayout + android:id="@+id/main_fragment_container" + android:layout_gravity="center" + android:layout_height="match_parent" + android:layout_width="match_parent"/> + +</LinearLayout>
\ No newline at end of file diff --git a/OpenKeychain/src/main/res/layout/main_drawer_header.xml b/OpenKeychain/src/main/res/layout/main_drawer_header.xml new file mode 100644 index 000000000..bac52efb3 --- /dev/null +++ b/OpenKeychain/src/main/res/layout/main_drawer_header.xml @@ -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>
\ No newline at end of file |