From 2616831f752adb88d095e3b1153c96b5cbec2553 Mon Sep 17 00:00:00 2001 From: Tsung-Mao Fang Date: Mon, 10 May 2021 17:46:11 +0800 Subject: [PATCH] Fix unknown item when exploring the App pinning page via Switch Access Set a not important attribute on a view. Test: no unknown item when using app pinning page. Fix: 187241610 Change-Id: I72cd6c6e853807d352759a7fdb93359a1a4949c0 --- .../FooterPreference/res/layout-v31/preference_footer.xml | 1 + .../FooterPreference/res/layout/preference_footer.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/SettingsLib/FooterPreference/res/layout-v31/preference_footer.xml b/packages/SettingsLib/FooterPreference/res/layout-v31/preference_footer.xml index 7a550aed94aca..205485d761453 100644 --- a/packages/SettingsLib/FooterPreference/res/layout-v31/preference_footer.xml +++ b/packages/SettingsLib/FooterPreference/res/layout-v31/preference_footer.xml @@ -24,6 +24,7 @@ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:background="?android:attr/selectableItemBackground" android:orientation="vertical" + android:importantForAccessibility = "no" android:clipToPadding="false">