Skip to content

Brass check boxes and radio buttons: on or off cannot be told under the remote's focus #290

Closed

Description

@compot-dev

Seen on a SberBox (Android 13, Decoder 2.26.0) in Settings: Allow remote access is on, but with the remote's focus on it the box is a solid amber square with no tick; a checked radio button with the focus (Proto TCP, emulator API 34) is a solid amber circle with no dot. On or off cannot be told while the focus is on it.

Cause: the system Material check box and radio button tinted amber (buttonTint); under focus their state layer fills the frame and the cut-out of the tick with the same amber. The amber focus frame around the row (focus_ring.xml) is right.

Fix: the app's own button drawables instead of the system ones, no tint — checked: an amber box with a dark tick / an amber ring with an amber dot; unchecked: an empty dark box / ring with a dim frame. The focus frame stays around the row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions