@@ -11,7 +11,8 @@ path: /catalog/chips/
1111[ Chips] ( https://material.io/components/chips ) are compact elements that
1212represent an input, attribute, or action.
1313
14- ![ Hero image of an input chip] ( assets/chips/chips_hero.png )
14+ ![ Email with purple "Compose" header and grey chip with an email address on the
15+ "To" line] ( assets/chips/chips_hero.png )
1516
1617** Contents**
1718
@@ -102,7 +103,8 @@ to a `ViewGroup` such as `RecyclerView`). A `ChipGroup` contains a set of
102103
103104A ` ChipGroup ` rearranges chips across multiple rows by default.
104105
105- ![ "A group of 6 chips."] ( assets/chips/chips_filter.png )
106+ ![ "6 grey "Filter" chips spread across 2 lines: "Filters" 1 and 3 selected and
107+ are darker grey and include checkmarks."] ( assets/chips/chips_filter.png )
106108
107109``` xml
108110<com .google.android.material.chip.ChipGroup
@@ -119,7 +121,8 @@ A `ChipGroup` can also constrain its chips to a single row using the
119121` app:singleLine ` attribute. Using a single row may necessitate wrapping the
120122` ChipGroup ` with a ` HorizontalScrollView ` .
121123
122- ![ "Chips in a single line."] ( assets/chips/chips_singleline.png )
124+ ![ "Single line of grey chips: chips 1, 2, and 3 are fully visible, chip 4 is
125+ partly visible"] ( assets/chips/chips_singleline.png )
123126
124127``` xml
125128<HorizontalScrollView
@@ -147,7 +150,7 @@ for lower amounts._
147150The following image shows a group of chips with
148151` app:chipSpacingHorizontal="42dp" ` .
149152
150- ![ "A group of chips with horizontal spacing. "] ( assets/chips/chips_spacing.png )
153+ ![ "6 grey chips in 2 rows with 42dp horizontal spacing"] ( assets/chips/chips_spacing.png )
151154
152155#### Multiple exclusion scope
153156
@@ -204,7 +207,7 @@ For example, consider an editable e-mail address field that converts addresses
204207to chips as they are typed and validated. We can combine ` ChipDrawable ` with
205208spans to add a chip to an ` EditText ` :
206209
207- ![ "A standalone chip insite a text field. "] ( assets/chips/chips_standalone.png )
210+ ![ "Standalone chip inside a text field"] ( assets/chips/chips_standalone.png )
208211
209212``` kt
210213chip.setBounds(0 , 0 , chip.intrinsicWidth, chip.intrinsicHeight)
@@ -302,7 +305,8 @@ the chips are checked.
302305
303306The following example shows four choice chips.
304307
305- ![ "Choice chips with texts Choice 1 to 4 and the first one selected."] ( assets/chips/chips_choice.png )
308+ ![ "4 choice chips, Choice 1 is selected with purple fill, Choices 2-4 unselected
309+ with grey fill"] ( assets/chips/chips_choice.png )
306310
307311In the layout:
308312
@@ -346,7 +350,8 @@ good alternative to toggle buttons or checkboxes.
346350
347351The following example shows six filter chips.
348352
349- ![ "Filter chips with texts Filter 1 to 6, the first and third selected."] ( assets/chips/chips_filter.png )
353+ ![ "6 grey "Filter" chips spread across 2 lines: "Filters" 1 and 3 selected and
354+ are darker grey and include checkmarks."] ( assets/chips/chips_filter.png )
350355
351356In the layout:
352357
@@ -557,7 +562,7 @@ API and source code:
557562
558563The following example shows chips with Material Theming.
559564
560- ![ "Chip theming example with pink and brown colors. "] ( assets/chips/chips_theming.png )
565+ ![ "3 chips with brown text and icons, white fill, and pink outlines "] ( assets/chips/chips_theming.png )
561566
562567#### Implementing chip theming
563568
0 commit comments