~/talk

Fonts and Emoji Using Support Libraries

Talkat 360|AnDev 2018 · 2018-07-19..07-20· [android]
slides:none on file

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

  1. 0:00Start
  2. 1:47lato.xml A font family is a set of font files along with style and weight details
  3. 3:22How? AAPT and AppCompat magic!
  4. 4:50Applying Lato
  5. 6:18What? How?
  6. 8:25Programmatically using Support Library
  7. 9:34Using Android Studio & Fonts in XML (recommended) Select a text view and click on fontFamily under Attributes in the graphical layout
  8. 12:02preloaded-fonts.xml
  9. 18:35Downloadable Fonts Config
  10. 19:56Bundled Fonts Config
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.