I need to render a HTTP URL to Web View and I need to customise the font family and size. How can I do this?
Asked
Active
Viewed 78 times
2
-
You can do it by injecting the javascripts in webview – Arbaz Alam Apr 18 '18 at 10:07
-
https://stackoverflow.com/questions/21694306/how-to-set-text-size-in-webview-in-android – Gowthaman M Apr 18 '18 at 10:09
-
Check this answer : https://www.stackoverflow.com/a/7395170 – Anonymous Apr 18 '18 at 10:10
-
@ShubhamSrivastava that is for a local html file – Anu Apr 18 '18 at 10:19
-
Anu did you find the solution for this? I m trying to solve this issue also. Help me if you solved it! – Uzair Qaiser Jun 26 '18 at 10:43
-
https://stackoverflow.com/questions/30018540/inject-css-to-a-site-with-webview-in-android (Is this the answer we both looking for? ) – Uzair Qaiser Jun 26 '18 at 10:52