Implementing a Vertical TextView from Scratch and Related Techniques
summary
A hands-on Android implementation of a vertical (vertical-writing) TextView built from View, InputConnection, Editable and Bitmap is presented, showing that text input can be implemented without using TextView or String. The talk covers how TextView and IME work, pitfalls of InputConnection, how strings and fonts produce bitmaps (including OpenType and Unicode/emoji issues), cross-platform vertical TextView experience, recent Android font changes like Variable Fonts, and practical cautions for implementing vertical text.
AI-written summary · about
chapters (8)
- 0:00Vertical TextView intro
- 6:16TextView display basics
- 15:10Text to rendered images
- 23:33Vertical writing specifics
- 33:38Text editing and IME
- 42:49Custom IME API
- 44:17TextView optimizations
- 49:02Vertical text challenges
related talks
39mBuild a Vertical Text Editor with Android 16 × Jetpack Compose
37mIntroducing Project Tate: Unlocking Native Ver…
51mCrafting Custom Android Views
36mBest practices for using text in Android
35mMake It Fit, how Android measures and draws views
37mAndroid Text, The Good The Bad and The ugly
25mGetting the Most Out of the Android Keyboard
46mTypesetting: designing and building beautiful text layouts
