How can I disable copy , paste and select toolbar , from a webview inside Android application

后端 未结 1 1381
挽巷
挽巷 2021-02-09 14:21

How can I disable copy, paste and select toolbar from a webview inside Android application?

I am making an application that actually \"webview\" a website that work on J

相关标签:
1条回答
  • 2021-02-09 15:06

    Disables all touch events on a WebView

    mWebView.setOnLongClickListener(new OnLongClickListener() {
    @Override
    public boolean onLongClick(View v) {
        return true;
    }
    });
    mWebView.setLongClickable(false);
    
    0 讨论(0)
提交回复
热议问题