Files
open-keychain/OpenKeychain/src/main/res/layout/toolbar_standalone.xml

32 lines
1.2 KiB
XML
Raw Normal View History

2015-01-13 21:55:53 +01:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-01-13 21:55:53 +01:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2015-01-14 14:02:51 +01:00
xmlns:tools="http://schemas.android.com/tools"
2015-02-03 18:10:13 +01:00
android:id="@+id/toolbar_include"
android:elevation="4dp"
2015-01-13 21:55:53 +01:00
android:layout_width="match_parent"
2015-02-03 18:10:13 +01:00
android:layout_height="wrap_content">
2015-02-21 20:01:19 +01:00
<!--
We always have windowTranslucentStatus=true to get under the status bar.
Thus this ImageView is the part under the status bar!
-->
<ImageView
2015-02-03 18:10:13 +01:00
android:id="@+id/status_bar"
android:layout_width="match_parent"
2015-02-21 20:01:19 +01:00
android:layout_height="@dimen/statusbar_height"
android:background="?attr/colorPrimary" />
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
2015-02-03 18:10:13 +01:00
android:layout_below="@+id/status_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
tools:ignore="UnusedAttribute" />
</RelativeLayout>