Android: Disable text selection in a webview

后端 未结 7 662
误落风尘
误落风尘 2020-11-27 11:42

I am using a webview to present some formatted stuff in my app. For some interaction (which are specific to certain dom elements) I use javascript and WebView.addJavas

相关标签:
7条回答
  • 2020-11-27 12:41

    It seems that the only option is to set onTouchListener and write your own code to detect long-click. Then return true if it's a long-click and false otherwise.

    0 讨论(0)
提交回复
热议问题