diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-02-21 20:01:19 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-02-21 20:01:19 +0100 |
commit | 5b75985f959161307850e42a5259520d5aa8db7e (patch) | |
tree | 2f270e33b25b480296a5bbb043a909ebbfc2420a /OpenKeychain/src/main/res/layout | |
parent | c6c8a098830719fc752092fb076dfb40ba5ef763 (diff) | |
download | open-keychain-5b75985f959161307850e42a5259520d5aa8db7e.tar.gz open-keychain-5b75985f959161307850e42a5259520d5aa8db7e.tar.bz2 open-keychain-5b75985f959161307850e42a5259520d5aa8db7e.zip |
Status bar height fix
Diffstat (limited to 'OpenKeychain/src/main/res/layout')
3 files changed, 7 insertions, 3 deletions
diff --git a/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml b/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml index c7b8c9b3a..253836080 100644 --- a/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml +++ b/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml @@ -18,7 +18,7 @@ <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 diff --git a/OpenKeychain/src/main/res/layout/first_time_activity.xml b/OpenKeychain/src/main/res/layout/first_time_activity.xml index 61737e548..ba80214a6 100644 --- a/OpenKeychain/src/main/res/layout/first_time_activity.xml +++ b/OpenKeychain/src/main/res/layout/first_time_activity.xml @@ -7,7 +7,7 @@ <ImageView android:id="@+id/status_bar" android:layout_width="match_parent" - android:layout_height="@dimen/statusbar_margin" /> + android:layout_height="@dimen/statusbar_height" /> <LinearLayout android:id="@+id/first_time_buttons" diff --git a/OpenKeychain/src/main/res/layout/toolbar_standalone.xml b/OpenKeychain/src/main/res/layout/toolbar_standalone.xml index cef0b862d..950c2f2ae 100644 --- a/OpenKeychain/src/main/res/layout/toolbar_standalone.xml +++ b/OpenKeychain/src/main/res/layout/toolbar_standalone.xml @@ -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 |