0

I am using a custom layout for RemoteView in widget. In talkback , it is currently speaking "double tap to activate" on imageview. But i want to replace the text with "double tap to open app". How can i get the above behavior in widgets?

Ajay Singh
  • 161
  • 1
  • 1
  • 8

1 Answers1

1

I don't think this is possible with the current APIs. RemoteViews don't have methods to set AccessibilityNodeInfo.

Workaround would be to add this information to content description via RemoteViews#setContentDescription. Then the user would still receive the information as "Open app, double tap to activate"

sigute
  • 1,143
  • 12
  • 21