简体   繁体   中英

Android WebView no selection color

In my application I have a webView that contains the FB like button. JS is enabled to get redirected. Now my problem is, I want to get rid of the orange selector. I know this can be done by css, but where do I put my Css file , and how to apply it to my webView? or is there a other way to accomplish this ?

找到了!

    webView.setFocusable(false);

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM