I have a view that has a long press action handler. I use the content description to set the message Talkback speaks when the view gets focus.
Currently it says my content description right after getting a focus, and after a short pause says:
Double tap to activate, double tap and hold for long press
I want to change this message into something like
Double tap to "action 1", double tap and hold for "action 2"
Is there a way to do so?
I looked into onPopulateAccessibilityEvent()
, it gets TYPE_VIEW_ACCESSIBILITY_FOCUSED
event, but I wasn't able to change the desired message.
Am I missing something simple?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…