From 3e2ec1cc9c13a9d0c701727265870c182c1c18ec Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Thu, 29 Jan 2015 17:21:21 -0800 Subject: [PATCH] Avoid bug in LinearLayout measurement Reverts to Holo-style layout where the View divider masks the bug. Uses a 0-height divider to avoid visual changes. Bug: 19201079 Change-Id: Ib9e701815c57b23d5ba7173f8de553e90e27ed11 --- core/res/res/layout/dialog_custom_title_material.xml | 2 ++ core/res/res/layout/dialog_title_icons_material.xml | 3 +++ core/res/res/layout/dialog_title_material.xml | 2 ++ 3 files changed, 7 insertions(+) diff --git a/core/res/res/layout/dialog_custom_title_material.xml b/core/res/res/layout/dialog_custom_title_material.xml index 248a05eac4931..50ed9103eb7dd 100644 --- a/core/res/res/layout/dialog_custom_title_material.xml +++ b/core/res/res/layout/dialog_custom_title_material.xml @@ -27,6 +27,8 @@ This is a custom layout for a dialog. android:layout_weight="0" android:gravity="center_vertical|start" style="?attr/windowTitleBackgroundStyle" /> + + + +