aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-03-10 00:57:23 +0100
committerVincent Breitmoser <valodim@mugenguild.com>2015-03-10 00:57:23 +0100
commit4db86fdabe80cffba13b5e18e1576b5d8de39e8d (patch)
tree80ca70fdd019824c65fc3b73740b1311cecc257e /OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml
parentf76f84dfb2e406dd613be04dabd9432ffd0f9c4b (diff)
parente3547b497932a1c0219c11d586858754c82d19da (diff)
downloadopen-keychain-4db86fdabe80cffba13b5e18e1576b5d8de39e8d.tar.gz
open-keychain-4db86fdabe80cffba13b5e18e1576b5d8de39e8d.tar.bz2
open-keychain-4db86fdabe80cffba13b5e18e1576b5d8de39e8d.zip
Merge remote-tracking branch 'development' into linked-identities
Diffstat (limited to 'OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/toolbar_inner_layout.xml26
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