I want to configure a webview with a custom font from my res/font folder, How can I configure the css located in assets folder to use it?
Asked
Active
Viewed 55 times
-1
-
Please, post `CSS` example – Denysole Jan 19 '18 at 14:35
-
Possible Duplicated https://stackoverflow.com/questions/31516518/how-to-load-android-assets-css-files-to-android-webview-url – TREAF ALSHEMERI Jan 19 '18 at 15:48
1 Answers
0
You don't need to configure the WebView . You just reference the css in your index.html file in both are assets folder.

matio
- 397
- 2
- 14