How to set default font for Android WebView

How do I set the default font for WebView

Android?

I know I can use CSS fonts, But how can I use it when I want to show external url like http://HossainCo.ir

For example, in dekstop firefox (currently I am using) we can set the default font to be used when other fonts used in CSS or HTML

So: I want to use "assets" font like "fonts / tohoma.ttf" when using webView.loadUrl("hossainco.ir");

+3
android html css fonts webview


source to share


No one has answered this question yet

Check out similar questions:

4863
How to turn off highlighting of text selection
4345
How to check if a checkbox is checked in jQuery?
4078
How to horizontally center a <div>?
3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up the development of an Android emulator?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2900
Set cellpadding and cellpacing in CSS?
2483
How can I disable the resizable textarea property?
1738
How do I create an HTML button that acts like a link?
999
How do I remove the space between inline-block elements?



All Articles
Loading...
X
Show
Funny
Dev
Pics