Fonts, Emoji and Text Using Support Libraries
summary
Concrete, actionable takeaways: Support Library v26+ plus Android Studio 3.0 implements fonts in XML so one line in the app theme applies a custom font app‑wide; Downloadable Fonts use Google Play services (11+) to shrink APKs, can prefetch via manifest but may throw ResourcesNotFound before download and require async handlers or blocking fetch for custom views; EmojiCompat can preload via the font provider or bundle a ~7MB font into the APK; TextView autosizing uses binary search and uniform sizing and needs known bounds to behave predictably.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:59Support Library v26+
- 4:09Why?
- 6:56Applying Lato
- 8:39What? How?
- 10:23Programmatically using Support Library
- 11:59Using Android Studio & Fonts in XML (recommended)
- 16:48Gotchas
- 22:42Library Components
- 23:09Downloadable Fonts Config
- 24:13Preloading for EmojiCompat
- 25:35Bundled Fonts Config
- 28:00Using EmojiCompat with Custom Widgets
- 31:51Using XML
related talks
30mFonts, Emoji and Text Using Support Libraries
24mFonts and Emoji Using Support Libraries
26mBuilding Apps with Downloadable Fonts and EmojiCompat from the Support Library
40mWhat's New (?) in Android Text Over the Past Few Years
41mAndroid Textual Layout
36mNo More □ — Mastering Emoji on Android
31mDiving into O and the Support Library
36mBest practices for using text in Android
