Glance Layout Vocabulary

The composable widget toolkit is not Compose with a different import — it has no aspect ratio, its weight is always 1 so an even split is the entire vocabulary, its corner radius only applies from API 31, and a widget always fills the launcher's cell so the spare height must be spent deliberately. Covers the weighted-spacer trick that keeps square tiles square, and where a fill modifier swallows a whole band. Android only. Use when a square tile renders as a rectangle, when a widget shows a block of dead colour below its content, or when corners are round on one device and square on another.

maxrave-dev Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/glance-layout-vocabulary commit d6dd4220a2

Frequently asked questions

npx skillmds@latest add maxrave-dev/glance-layout-vocabulary