📚 Encyclopedia

Android · updated 2026-10-26

Making a Jetpack Compose app feel premium

androidcomposemotionhapticsanimationuxaccessibilitypolish

Justin asked for the Message app to feel "premium" (2026-07-15). A five-agent audit (motion, haptics, visual, performance, delight) produced a roughly 50-item punch list; these are the techniques and traps that came out of it and the UX audit cycles around it.

Systems, not one-offs

Interactions

A swipe bug class worth avoiding

Swipe-to-archive with a quick Undo left SwipeToDismissBoxState in the dismissed state while the row stayed composed, leaving a permanent blank "Archive" slot. The redesign made the row swipe a call action that vetoes every dismissal (springs back, opens the dialer), and moved archive and delete to the long-press menu with Undo. A swipe that never dismisses cannot leave ghosts.

Text that must stay on one line

maxLines = 1 does not stop a Compose Text from wrapping when softWrap is on, and in a fixed-height row the second line draws under whatever is below it (a dialed number hid behind the keypad on a real phone). For a value that must fit, turn soft wrap off, step the font size down to a floor until it fits the width, then ellipsize from the side that matters less (for a number being typed, drop leading digits). See Writing a replacement phone (dialer) app for Android.

Accessibility pass

Live regions for sent/received announcements, headings, named custom actions on rows (TalkBack "copy code"), tested at 2x font scale, a theme-level reduced-motion flag, 48 dp touch targets, emoji-only messages at a large size.

Errors and feedback

UI sounds

Short synthesized WAVs (see Generating app assets with Python scripts (logos, GIFs, sounds)), gated by a settings toggle and the ringer mode. Ship the toggle with the sounds.

See also

Linked from

Sources: message memory (project_premium_wave, project_sms_app v2.14 to v2.17.1, project_pending_work), phone memory (0.1.1)