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?
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"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.