From 1c4b21071c182761ac70f27a95011745432064e5 Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Fri, 30 Aug 2019 15:57:01 -0400 Subject: [PATCH] Make taps on the row toggle switches Test: manual; systemUI tests Fixes: 138948956 Change-Id: I6a654ce959871e7286bc45b50b4e9a9499f8e401 --- packages/SystemUI/res/layout/notif_half_shelf.xml | 4 +++- packages/SystemUI/res/layout/notif_half_shelf_row.xml | 4 +++- .../statusbar/notification/row/ChannelEditorListView.kt | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/res/layout/notif_half_shelf.xml b/packages/SystemUI/res/layout/notif_half_shelf.xml index 26c8872313492..d36c1a8c961b4 100644 --- a/packages/SystemUI/res/layout/notif_half_shelf.xml +++ b/packages/SystemUI/res/layout/notif_half_shelf.xml @@ -46,7 +46,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="8dp" - android:orientation="horizontal" > + android:orientation="horizontal" + android:clickable="true" + android:foreground="?android:attr/selectableItemBackground" > + android:clickable="true" + android:orientation="horizontal" + android:foreground="?android:attr/selectableItemBackground" >