diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-03-06 01:12:33 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-03-06 01:12:33 +0100 |
commit | eaf7e5e0051da5a49001283321e8e722ab3b1bae (patch) | |
tree | ad58ec2a5d3c31e911bfb118d5835dc547bb7a47 /OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml | |
parent | 0bb3b9c6cc8ef12f0ef19238e0ba5fe0f3df2e40 (diff) | |
download | open-keychain-eaf7e5e0051da5a49001283321e8e722ab3b1bae.tar.gz open-keychain-eaf7e5e0051da5a49001283321e8e722ab3b1bae.tar.bz2 open-keychain-eaf7e5e0051da5a49001283321e8e722ab3b1bae.zip |
Fix elevation
Diffstat (limited to 'OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml b/OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml new file mode 100644 index 000000000..047225394 --- /dev/null +++ b/OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<merge xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools"> + + <!-- + We always have windowTranslucentStatus=true to get under the status bar. + Thus this ImageView is the part under the status bar! + --> + <ImageView + android:id="@+id/status_bar" + android:layout_width="match_parent" + android:layout_height="@dimen/statusbar_height" + android:background="@color/transparent" /> + + <android.support.v7.widget.Toolbar + android:id="@+id/toolbar" + android:layout_below="@+id/status_bar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="?attr/actionBarSize" + android:background="@color/transparent" + app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" + app:popupTheme="@style/ThemeOverlay.AppCompat.Light" + tools:ignore="UnusedAttribute" /> +</merge>
\ No newline at end of file |