diff options
Diffstat (limited to 'OpenKeychain/src/main/res/layout/create_key_activity.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/create_key_activity.xml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/OpenKeychain/src/main/res/layout/create_key_activity.xml b/OpenKeychain/src/main/res/layout/create_key_activity.xml index 0bd053c49..b9d5206a1 100644 --- a/OpenKeychain/src/main/res/layout/create_key_activity.xml +++ b/OpenKeychain/src/main/res/layout/create_key_activity.xml @@ -1,15 +1,27 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> - <include layout="@layout/notify_area" /> + <include + android:id="@+id/toolbar_include" + layout="@layout/toolbar_standalone" /> + <!-- + fitsSystemWindows and layout_marginTop from + https://medium.com/@ngdelamo/using-drawerlayout-the-material-way-i-716bba2b5705 + --> <FrameLayout - android:id="@+id/create_key_fragment_container" + android:layout_below="@id/toolbar_include" + android:fitsSystemWindows="true" + android:layout_marginTop="-25dp" android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" /> + android:layout_height="match_parent"> -</LinearLayout>
\ No newline at end of file + <FrameLayout + android:id="@+id/create_key_fragment_container" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + + </FrameLayout> +</RelativeLayout>
\ No newline at end of file |