From 9a6bf825e8b16c3db4ecac60553521e2edd8dbb5 Mon Sep 17 00:00:00 2001 From: Peter_Liang Date: Tue, 7 Jan 2020 14:43:57 +0800 Subject: [PATCH] Fine-tune the layout of shortcut preference. The checkbox position of shortcut preference is not consistent with others internal components. Bug: b/147270184 Bug: b/142530063 Fix: b/147270184 Test: manual test Change-Id: Ie1c2e5909e814180ff731c5bf0b362f6f1489dec --- .../accessibility_shortcut_secondary_action.xml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/res/layout/accessibility_shortcut_secondary_action.xml b/res/layout/accessibility_shortcut_secondary_action.xml index caf9b1c5d12..1b575da611c 100644 --- a/res/layout/accessibility_shortcut_secondary_action.xml +++ b/res/layout/accessibility_shortcut_secondary_action.xml @@ -31,19 +31,14 @@ android:gravity="start|center_vertical" android:focusable="true" android:clickable="true" - android:background="?android:attr/selectableItemBackground" - android:paddingStart="?android:attr/listPreferredItemPaddingStart" - android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> + android:background="?android:attr/selectableItemBackground">