From b65e13ca837376e9712f31fdf947bad23b1107ef Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 1 Aug 2017 11:04:15 -0700 Subject: Making the whole preference entry a single tap target when notification access is not available Bug: 64232287 Change-Id: I93dadfb88ee5d008dee7582c5f37ea3d354330cd --- res/layout/notification_pref_warning.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'res') diff --git a/res/layout/notification_pref_warning.xml b/res/layout/notification_pref_warning.xml index 795699e99..100fac5e4 100644 --- a/res/layout/notification_pref_warning.xml +++ b/res/layout/notification_pref_warning.xml @@ -17,8 +17,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="48dp" android:layout_height="match_parent" - android:background="?android:attr/selectableItemBackgroundBorderless" - android:contentDescription="@string/title_missing_notification_access" + android:importantForAccessibility="no" android:scaleType="center" android:src="@drawable/ic_warning" android:tint="?android:attr/textColorSecondary" /> -- cgit v1.2.3