From 60d3e7671e853cb5e08992ed5a804b8d344137ee Mon Sep 17 00:00:00 2001 From: Floens Date: Sat, 22 Nov 2014 21:54:06 +0100 Subject: [PATCH] Change toolbar height to fix landscape height It still has some problems though with rotating. See issue https://code.google.com/p/android/issues/detail?id=77874 --- Clover/app/src/main/res/layout/toolbar.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clover/app/src/main/res/layout/toolbar.xml b/Clover/app/src/main/res/layout/toolbar.xml index b33b9d27..515c54e6 100644 --- a/Clover/app/src/main/res/layout/toolbar.xml +++ b/Clover/app/src/main/res/layout/toolbar.xml @@ -19,7 +19,7 @@ along with this program. If not, see . xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/toolbar" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="?attr/actionBarSize" android:minHeight="?attr/actionBarSize" android:background="?attr/colorPrimary" app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"