Fonts and Emoji Using Support Libraries
summary
Android Oreo text features work via Support Libraries v26+ to add Fonts in XML, Downloadable Fonts from the Google Play services font provider (≈800 Google Fonts) and EmojiCompat. Concrete effects: fonts can be theme-applied with one XML line, downloadable fonts reduce APK size and share cache across apps, blocking vs async fetch affects custom views, resources getFont can throw ResourcesNotFoundException, bundling support fonts costs about 7MB per font and EmojiCompat runs on API 19+ with prefetch via manifest metadata.
AI-written summary · about
chapters (10)
- 0:00Start
- 1:47lato.xml A font family is a set of font files along with style and weight details
- 3:22How? AAPT and AppCompat magic!
- 4:50Applying Lato
- 6:18What? How?
- 8:25Programmatically using Support Library
- 9:34Using Android Studio & Fonts in XML (recommended) Select a text view and click on fontFamily under Attributes in the graphical layout
- 12:02preloaded-fonts.xml
- 18:35Downloadable Fonts Config
- 19:56Bundled Fonts Config
related talks
30mFonts, Emoji and Text 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
36mNo More □ — Mastering Emoji on Android
35mNO MORE □ — MASTERING EMOJI ON ANDROID
