From: Jason Monk Date: Fri, 26 May 2017 17:19:38 +0000 (-0400) Subject: Fix QS Detail header touch target X-Git-Tag: android-x86-9.0-r1~1044^2~446^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ecfbddbced92942064347574c22aeabed463e6c5;p=android-x86%2Fframeworks-base.git Fix QS Detail header touch target Move around some spacings and paddings to make sure the whole area counts as a touch for the header. Test: manual Change-Id: I3d7515767cc3624efb195481886dc03c69cc39c9 Fixes: 38250837 --- diff --git a/packages/SystemUI/res/layout/qs_detail.xml b/packages/SystemUI/res/layout/qs_detail.xml index f41c4944fff8..34e43ce88ebc 100644 --- a/packages/SystemUI/res/layout/qs_detail.xml +++ b/packages/SystemUI/res/layout/qs_detail.xml @@ -26,10 +26,6 @@ android:paddingBottom="8dp" android:visibility="invisible"> - - - - - - - + + + android:orientation="horizontal"> + + + + + + + + diff --git a/packages/SystemUI/res/layout/qs_detail_items.xml b/packages/SystemUI/res/layout/qs_detail_items.xml index b9cdf28aa456..60cba67cf3d7 100644 --- a/packages/SystemUI/res/layout/qs_detail_items.xml +++ b/packages/SystemUI/res/layout/qs_detail_items.xml @@ -20,7 +20,6 @@ xmlns:sysui="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingTop="@dimen/qs_detail_items_padding_top" android:paddingStart="@dimen/qs_detail_padding_start" android:paddingEnd="16dp"> diff --git a/packages/SystemUI/res/layout/zen_mode_panel.xml b/packages/SystemUI/res/layout/zen_mode_panel.xml index 870784079e77..200eabf80e4e 100644 --- a/packages/SystemUI/res/layout/zen_mode_panel.xml +++ b/packages/SystemUI/res/layout/zen_mode_panel.xml @@ -36,7 +36,6 @@ android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" - android:layout_marginTop="8dp" android:layout_marginBottom="8dp" /> 0dp 56dp 0dp - 0dp 56dp 56dp 16dp