Android Question Applying a custom CSS to a Webview

Martin Larsen

Active Member
Licensed User
Longtime User
Is it possible to apply a custom CSS to a webview loaded with an external URL?

Reason: To hide certain elements that are not relevant in the webview as opposed to viewed in a regular browser.
 

MicroDrie

Well-Known Member
Licensed User
Longtime User
Thanks. There is both WebViewExtras and WebViewExtras2. What's the difference?
The only diference between both libraries is that WebViewExtras2 is more complete to overcome the fact that Kitkat broke a number of WebView related functions as noticed here
 
Upvote 0
Top