Merge "Fix unknown items issue when using Switch Access"
This commit is contained in:
committed by
Android (Google) Code Review
commit
144be64a1b
@@ -24,7 +24,6 @@
|
||||
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:importantForAccessibility = "no"
|
||||
android:clipToPadding="false">
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
||||
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:importantForAccessibility = "no"
|
||||
android:clipToPadding="false">
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -61,6 +61,7 @@ public class FooterPreference extends Preference {
|
||||
title.setMovementMethod(new LinkMovementMethod());
|
||||
title.setClickable(false);
|
||||
title.setLongClickable(false);
|
||||
title.setFocusable(false);
|
||||
if (!TextUtils.isEmpty(mContentDescription)) {
|
||||
title.setContentDescription(mContentDescription);
|
||||
}
|
||||
@@ -79,6 +80,7 @@ public class FooterPreference extends Preference {
|
||||
if (!TextUtils.isEmpty(mLearnMoreContentDescription)) {
|
||||
learnMore.setContentDescription(mLearnMoreContentDescription);
|
||||
}
|
||||
learnMore.setFocusable(false);
|
||||
} else {
|
||||
learnMore.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user