~/talk

Build a Vertical Text Editor with Android 16 × Jetpack Compose

TalkinJapaneseat DroidKaigi 2025 · 2025-09-10..09-12· [android, web-platform]
name:rokuroku
links:none on file
slides:none on file

Shows how Android 16’s Paint.VERTICAL_TEXT_FLAG enables drawing vertical Japanese text in Jetpack Compose and presents a demo vertical text editor built with Compose and a VerticalTextLayout that supports ruby, tate-chu-yoko, and sideways text. Describes three input-integration approaches—legacy TextInputService, establishInputConnection via PlatformTextInputModifierNode, and the experimental PlatformTextInputInterceptor—and notes that BasicTextField with TextFieldState syncing is usable but caret/candidate-window placement and emoji glyph offsets need extra handling; requires API level 36 (Android 16) and has limited adoption (~1%).

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Vertical text need
  3. 8:55Android 16 vertical text
  4. 10:44Drawing vertical text
  5. 13:16Vertical text tips
  6. 16:29VerticalTextLayout
  7. 20:24Editor architecture
  8. 24:43Custom editor with TextInputService
  9. 30:09TextInputModifierNode use
  10. 33:23TextFieldState state
  11. 36:38Custom editor summary
  12. 38:41Future outlook
~/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.