Status bar height fix

This commit is contained in:
Dominik Schürmann
2015-02-21 20:01:19 +01:00
parent c6c8a09883
commit 5b75985f95
7 changed files with 17 additions and 8 deletions

View File

@@ -7,10 +7,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
<!--
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_margin"
android:layout_height="@dimen/statusbar_height"
android:background="?attr/colorPrimary" />
<android.support.v7.widget.Toolbar