Changing typeface of text in a WebView
Question
I looked around on StackOverflow and it looks like all of the questions related to changing the typeface also concerned using custom fonts. Is it possible to just change the typeface to Serif in a WebView without changing the font as well?
Solution
Sure. In the HTML content, in the head do:
<html>
<head>
...
<style type="text/css">
body { font-family: serif; }
...
</style>
...
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow