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.
Смотрите видео Android Tutorial 28 - TextView, Custom Fonts and HTML онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Code Here Now 24 Март 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,740 раз и оно понравилось 24 людям.