Android HtmlView Does not accept size or font face styling
See original GitHub issueHtml view in android does not accept styling or font-family. IOS this works.
Here is a sample code that does not style correctly
<HtmlView html="<span><b><font size='10' color='blue' face='lato'>{{item.text}} </font></b></span>" </HtmlView>
Issue Analytics
- State:
 - Created 6 years ago
 - Comments:12 (5 by maintainers)
 
Top Results From Across the Web
Android HtmlView Does not accept size or font face styling
Html view in android does not accept styling or font-family. IOS this works. Here is a sample code that does not style correctly...
Read more >How to change font face of Webview in Android?
There's a working example of this in this project. It boils down to: In your assets/fonts folder, place the desired OTF or TTF...
Read more >How to change font face of Webview in Android? - Tutorialspoint
This example demonstrates how do I change font face of WebView in android. Step 1 − Create a new project in Android Studio,...
Read more >Add a font as an XML resource - Android Developers
For more information on using the Support Library, refer to the Use the ... A font family is a set of font files...
Read more >font-stretch - CSS: Cascading Style Sheets - MDN Web Docs
If the font you are using does not offer condensed or expanded faces, this property has no effect. Font face selection. The face...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is how i create a HtmlView custom component.
Angular Component 💥💥💥
Hi @captainhaddock29
HTML:
This is our Angular component: