From 68bea2f82c3425ffbb894d315e913fba4aaa5795 Mon Sep 17 00:00:00 2001 From: Nancy Chen Date: Fri, 16 Jan 2015 16:29:00 -0800 Subject: Remove padding from call buttons to fix undesired cropping. Padding was added to the sides of the call button row in order to prevent false touches. However, this additional padding causes cropping of the background on the two buttons on the far left and far right when all 5 buttons are present on low resolution devices. Since on high resolution devices there is more than enough extra space on the left and right, this padding is being removed to eliminate cropping. Bug: 18122087 Change-Id: Ie948d9cbe4ef7025702ae1f4666354ab1be76bbc --- InCallUI/res/layout/call_button_fragment.xml | 2 -- InCallUI/res/values/dimens.xml | 7 ------- 2 files changed, 9 deletions(-) (limited to 'InCallUI') diff --git a/InCallUI/res/layout/call_button_fragment.xml b/InCallUI/res/layout/call_button_fragment.xml index 24101feac..e8feca68a 100644 --- a/InCallUI/res/layout/call_button_fragment.xml +++ b/InCallUI/res/layout/call_button_fragment.xml @@ -45,8 +45,6 @@ android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="@dimen/button_cluster_horizontal_padding" - android:paddingEnd="@dimen/button_cluster_horizontal_padding" android:gravity="bottom|center_horizontal" android:baselineAligned="false"> diff --git a/InCallUI/res/values/dimens.xml b/InCallUI/res/values/dimens.xml index f390f38ec..43307e8db 100644 --- a/InCallUI/res/values/dimens.xml +++ b/InCallUI/res/values/dimens.xml @@ -69,13 +69,6 @@ -24dp - - 20dp 8dp 6dp -- cgit v1.2.3