~/talk

Compose your Text

Talkat droidcon San Francisco 2022 · 2022-06-02..06-03· [android]
slides:none on file

Explains how Compose text maps to the same platform stack (paragraph → Minikin → Skia) and what Compose 1.2 actually adds: Compose 1.2 brings Google Fonts integration with async fallbacks, a controllable line height alignment API, and a new includeFontPadding default (true for compatibility). Shows a concrete bug class: never back text fields with async flows—use mutable state to avoid IME edit races—and demonstrates turning server JSON into an AnnotatedString to render multi-style text.

AI-written summary · about

  1. 0:00Introduction to text in Android
  2. 5:22Compose text system overview
  3. 7:08Styling text in Compose
  4. 10:17Building a design system
  5. 18:18Line height and font padding
  6. 21:24Handling text input
  7. 25:39Rendering multi-style text
  8. 29:11Text rendering architecture
  9. 30:13Key takeaways and conclusion
~/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.