From 1af6fe9fba35475635c1baab2aeddb91a4e60204 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Thu, 17 Dec 2015 15:59:30 -0500 Subject: [PATCH] Clamp action bar button height to default minimum height Previously, the fixed size of 56dp would bump the landscape action bar measured height up to 56dp but leave the minHeight at 48dp, which would cause the buttons to be aligned incorrectly. Now the buttons are scaled to fit the action bar. Change-Id: I47801d1fb072d8801b7bbae5c42be3bdfb819404 --- core/res/res/values/styles.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index 9a4016bd5f9aa..937d83db8dbbe 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -1235,7 +1235,7 @@ please see styles_device_defaults.xml. @style/TextAppearance.Widget.Toolbar.Subtitle ?attr/actionBarSize 4dp - 56dp + @dimen/action_bar_default_height_material top @style/Widget.Toolbar.Button.Navigation ?attr/homeAsUpIndicator