This is an excerpt from Learn by Doing - Android for Beginners on Udemy.
https://www.udemy.com/learn-by-doing-...
This video teaches you how to,
1. Use custom fonts in your TextView
2. Use HTML to format text for your TextView
Things to Remember
-------------------------------
1. Copy your fonts into the assets project directory.
2. Prefer True Type Fonts (TTFs)
3. Use the Typeface.createTypeface(AssetManager, String) method to create fonts from files that are located in the assets directory.
4. Replace the HTML opening tag character with the corresponding HTML entity.
5. The Html.fromHtml(String) method returns a styled text that you can use in your TextView.
Watch video Android Tutorial 28 - TextView, Custom Fonts and HTML online without registration, duration hours minute second in high quality. This video was added by user Code Here Now 24 March 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,740 once and liked it 24 people.