mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-05 10:38:05 -05:00
Fix toolbar margins on Android lower 5
This commit is contained in:
parent
be06c4cd58
commit
5a4fc0a071
@ -14,7 +14,7 @@
|
||||
<FrameLayout
|
||||
android:layout_below="@id/toolbar_include"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_marginTop="-25dp"
|
||||
android:layout_marginTop="@dimen/minus_statusbar_height"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
<LinearLayout
|
||||
android:layout_below="@id/toolbar_include"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_marginTop="-25dp"
|
||||
android:layout_marginTop="@dimen/minus_statusbar_height"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
@ -14,7 +14,7 @@
|
||||
<LinearLayout
|
||||
android:layout_below="@id/toolbar_include"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_marginTop="-25dp"
|
||||
android:layout_marginTop="@dimen/minus_statusbar_height"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
@ -15,7 +15,7 @@
|
||||
android:layout_below="@id/toolbar_include"
|
||||
android:id="@+id/content_frame"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_marginTop="-25dp"
|
||||
android:layout_marginTop="@dimen/minus_statusbar_height"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
@ -15,7 +15,7 @@
|
||||
android:layout_below="@id/toolbar_include"
|
||||
android:id="@+id/content_frame"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_marginTop="-25dp"
|
||||
android:layout_marginTop="@dimen/minus_statusbar_height"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
@ -14,7 +14,7 @@
|
||||
<LinearLayout
|
||||
android:layout_below="@id/toolbar_include"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_marginTop="-25dp"
|
||||
android:layout_marginTop="@dimen/minus_statusbar_height"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
</resources>
|
@ -8,4 +8,5 @@
|
||||
<!-- 120dp + statusbar_height -->
|
||||
<dimen name="big_toolbar">141dp</dimen>
|
||||
<dimen name="huge_toolbar">243dp</dimen>
|
||||
<dimen name="minus_statusbar_height">-25dp</dimen>
|
||||
</resources>
|
@ -4,4 +4,5 @@
|
||||
<dimen name="statusbar_height">0dp</dimen>
|
||||
<dimen name="big_toolbar">120dp</dimen>
|
||||
<dimen name="huge_toolbar">222dp</dimen>
|
||||
<dimen name="minus_statusbar_height">0dp</dimen>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user