diff --git a/res/values/strings.xml b/res/values/strings.xml index 0c7825f0f9b..d74bf869143 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -4885,7 +4885,7 @@ Use new accessibility gesture - To turn this service on or off, tap the accessibility button%son the bottom of your screen.\n\nTo switch between services, touch & hold the accessibility button. + To turn this service on or off, tap the accessibility button %s on the bottom of your screen.\n\nTo switch between services, touch & hold the accessibility button. To turn this service on or off, swipe up from the bottom of the screen with two fingers.\n\nTo switch between services, swipe up with two fingers and hold. diff --git a/src/com/android/settings/accessibility/AccessibilityGestureNavigationTutorial.java b/src/com/android/settings/accessibility/AccessibilityGestureNavigationTutorial.java index e7b2b829b57..153fa192a5b 100644 --- a/src/com/android/settings/accessibility/AccessibilityGestureNavigationTutorial.java +++ b/src/com/android/settings/accessibility/AccessibilityGestureNavigationTutorial.java @@ -179,10 +179,12 @@ public class AccessibilityGestureNavigationTutorial { final int indexIconStart = messageString.indexOf("%s"); final int indexIconEnd = indexIconStart + 2; final Drawable icon = context.getDrawable(R.drawable.ic_accessibility_new); + final ImageSpan imageSpan = new ImageSpan(icon); + imageSpan.setContentDescription(""); icon.setTint(getThemeAttrColor(context, android.R.attr.textColorPrimary)); icon.setBounds(0, 0, lineHeight, lineHeight); spannableMessage.setSpan( - new ImageSpan(icon), indexIconStart, indexIconEnd, + imageSpan, indexIconStart, indexIconEnd, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); return spannableMessage;