Fonts, Emoji and Text Using Support Libraries
summary
Android Oreo plus Support Library v26+ brings concrete features and caveats for app text handling Fonts in XML lets you bundle or reference .ttf families and apply one theme line via ResourcesCompat.getFont, Downloadable Fonts uses the Google Play font provider (≈800 Google fonts) to save up to ~7 MB APK size and shares cached fonts but may require blocking fetch or preload and depends on Play Services, EmojiCompat with Noto Color Emoji enables API19+ fallback rendering, and TextView autosizing (API14+) does binary‑search sizing with min/max/step and needs AppCompat and careful layout constraints.
AI-written summary · about
chapters (21)
- 0:00Introduction and welcome
- 1:08Support library 26 changes
- 3:17Fonts in XML explained
- 6:48Fonts in XML gotchas
- 7:09Downloadable fonts overview
- 9:59Downloadable fonts setup
- 12:29Downloadable fonts files
- 14:38Downloadable fonts limitations
- 16:24Custom font providers
- 17:27Emoji Compat introduction
- 19:14How Emoji Compat works
- 20:16Emoji Compat setup
- 21:20Emoji Compat preloading
- 22:03Bundled Emoji Compat
- 23:04Using Emoji Compat components
- 24:29Emoji Compat gotchas
- 25:32TextView autosizing intro
- 26:35How TextView autosizing works
- 26:58TextView autosizing usage
- 28:22TextView autosizing tips
- 29:27Conclusion and Q&A
related talks
24mFonts and Emoji Using Support Libraries
38mFonts, Emoji and Text Using Support Libraries
26mBuilding Apps with Downloadable Fonts and EmojiCompat from the Support Library
31mDiving into O and the Support Library
40mWhat's New (?) in Android Text Over the Past Few Years
21mAndroid Emoji 2021
41mAndroid Textual Layout
36mNo More □ — Mastering Emoji on Android
