Questions tagged [android-chips]

Chips are compact elements that represent an input, attribute, or action. Chips allow users to enter information, make selections, filter content, or trigger actions. Chips should appear dynamically as a group of multiple interactive elements. Unlike buttons, which should be a consistent and familiar call to action, one that a user expects to appear as the same action in the same general area.

The Chip android component is provided by the Material Components Library.

A Chip represents a complex entity in a small block, such as a contact. It is a rounded button that consists of a label, an optional chip icon, and an optional close icon. A chip can either be clicked or toggled if it is checkable.

Chips may be placed in a ChipGroup, which can be configured to lay out its chips in a single horizontal line or reflowed across multiple lines. If a chip group contains checkable chips, it can also control the multiple-exclusion scope for its set of chips so that checking one chip unchecks all other chips in the group.

240 questions
1
vote
2 answers

Set specific number of chips that can be selected in a chip group

Use Case: I am making a category selector where a user must select 5 chips from a chipgroup having a number of chips. User should not be allowed to select more than 5 chips. My chip group code:
1
vote
2 answers

GetText() for a chipgroup (entry)

I'm quite new in java/android and i need for a project to implement chip (entry). I followed a tutorial and the chip works. what i made XML
1
vote
1 answer

Checked icon color in filter style Material Components Chip (Android)

I have the style for the Chip defined as below: