onTouchEvent is not called when talkback enabled on custom view

前端 未结 2 1329
臣服心动
臣服心动 2021-01-06 04:03

I\'m implementing custom keyboard (through custom view) for password field and trying add accessibility feature, so when user single press on view it should pronounce select

2条回答
  •  长情又很酷
    2021-01-06 04:34

    When TalkBack is enabled a double tap is the equivalent of a single tap. That is, onTouchEvent will only be called when the user double taps a view/widget.

提交回复
热议问题