~/talk

Deep Dive into Jetpack Compose Text

TalkinJapaneseat DroidKaigi 2022 · 2022-10-05..10-07· [android, web-performance]
links:none on file
slides:none on file

Jetpack Compose text now uses platform layout and graphics APIs directly (no TextView), implementing a Paragraph-based layout layer, unbundled library releases, and platform-bug workarounds. New APIs include LineHeightStyle (with trim and alignment modes for proportional/center/top/bottom and different multi-line vs single-line behavior), multi-text selection via SelectionContainer, improved line-break controls (simple/heading/paragraph), and runtime Google Fonts integration for automatic font download.

AI-written summary · about

  1. 0:00Introduction
  2. 4:54TextView vs Compose
  3. 16:16Compose Text features
  4. 17:21Line height & layout
  5. 22:39Line breaks & Google Fonts
  6. 25:00Q&A
~/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.