Skip to content

axdynamicbar: larger touch targets for keyguard media controls - #60

Closed
zedisspp wants to merge 3 commits into
AxionAOSP:lineage-23.2from
zedisspp:axbar
Closed

axdynamicbar: larger touch targets for keyguard media controls#60
zedisspp wants to merge 3 commits into
AxionAOSP:lineage-23.2from
zedisspp:axbar

Conversation

@zedisspp

Copy link
Copy Markdown

Increase size and spacing of the prev/play-pause/next buttons in the keyguard media pill, since the previous touch targets were too small and easy to mis-tap.

  • Add dedicated MediaActionSize/MediaActionIconSize/ MediaPlayPauseSize tokens, used only by the media chip so other chip types (timer, recording, sports, etc.) keep their existing ActionSize/ActionIconSize.
  • Grow the pill height slightly for IslandEvent.Media so the larger buttons fit without crowding the track text.
  • Swap the solid background fill for a translucent one with a subtle border for a glass-style look.

Increase size and spacing of the prev/play-pause/next buttons in
the keyguard media pill, since the previous touch targets were too
small and easy to mis-tap.

- Add dedicated MediaActionSize/MediaActionIconSize/
  MediaPlayPauseSize tokens, used only by the media chip so other
  chip types (timer, recording, sports, etc.) keep their existing
  ActionSize/ActionIconSize.
- Grow the pill height slightly for IslandEvent.Media so the
  larger buttons fit without crowding the track text.
- Swap the solid background fill for a translucent one with a
  subtle border for a glass-style look.
Give the media chip its own size tokens instead of sharing
values with other chip types, and replace the semi-transparent
background/border with the standard accent fill.

Move playback controls below the track/artist text instead of
inline, and switch album art to a circular shape.
Replace Arrangement.SpaceBetween with Arrangement.spacedBy(SpaceLg,
Alignment.CenterHorizontally) in the media controls Row (skip prev /
play-pause / skip next) of AxDynamicBarKeyguardChip.

SpaceBetween pushed the buttons to the edges of the Row, which
inherits the full chip width (up to MediaChipMaxWidth), leaving a
large gap in the middle. spacedBy sets a fixed, controlled gap and
centers the buttons regardless of chip width.
@zedisspp zedisspp closed this by deleting the head repository Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant