Compose your Text
summary
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
chapters (9)
- 0:00Introduction to text in Android
- 5:22Compose text system overview
- 7:08Styling text in Compose
- 10:17Building a design system
- 18:18Line height and font padding
- 21:24Handling text input
- 25:39Rendering multi-style text
- 29:11Text rendering architecture
- 30:13Key takeaways and conclusion
related talks
39mText in Compose: Beyond the Basics
38mWrite it down: Using text in Jetpack Compose
26mDeep Dive into Jetpack Compose Text
35mReimagining text fields in Compose
39mUnderstanding Compose Text Field
10mStyling text in Compose
41mTextField in Jetpack Compose:past, present and future
35mCompose beyond Material
