From fdb54bda753f78be513cce16a38dca85b57f35ea Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Fri, 13 May 2016 14:42:41 -0400 Subject: [PATCH] Give the AM/PM buttons slightly more content area Bug: 28506707 Change-Id: I7dbe472dfa6a5122ca4b80c55a6a3bcf729988f4 --- core/res/res/layout/time_picker_header_material.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/core/res/res/layout/time_picker_header_material.xml b/core/res/res/layout/time_picker_header_material.xml index 7019cedbcd256..8fd87b8219b07 100644 --- a/core/res/res/layout/time_picker_header_material.xml +++ b/core/res/res/layout/time_picker_header_material.xml @@ -82,7 +82,10 @@ android:id="@+id/am_label" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:padding="8dp" + android:paddingLeft="4dp" + android:paddingRight="4dp" + android:paddingTop="8dp" + android:paddingBottom="8dp" android:layout_marginBottom="-8dp" android:textAppearance="@style/TextAppearance.Material.TimePicker.AmPmLabel" android:lines="1" @@ -96,7 +99,10 @@ android:id="@+id/pm_label" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:padding="8dp" + android:paddingLeft="4dp" + android:paddingRight="4dp" + android:paddingTop="8dp" + android:paddingBottom="8dp" android:textAppearance="@style/TextAppearance.Material.TimePicker.AmPmLabel" android:lines="1" android:ellipsize="none"