@@ -83,17 +83,17 @@ More details on anatomy items in the
8383
8484### Container attributes
8585
86- Element | Attribute | Related method(s) | Default value
87- -------------------- | --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------
88- ** Color** | ` app:chipBackgroundColor ` | ` setChipBackgroundColor ` <br />` setChipBackgroundColorResource ` <br />` getChipBackgroundColor ` | ` ?attr/colorOnSurface `
89- ** Ripple color** | ` app:rippleColor ` | ` setRippleColor ` <br />` setRippleColorResource ` <br />` getRippleColor ` | ` ?attr/colorOnSecondaryContainer ` at 12%
90- ** Stroke width** | ` app:chipStrokeWidth ` | ` setStrokeWidth ` <br />` setChipStrokeWidthResource ` <br />` getChipStrokeWidth ` | ` 1dp `
91- ** Stroke color** | ` app:chipStrokeColor ` | ` setStrokeColor ` <br />` setChipStrokeColorResource ` <br />` getChipStrokeColor ` | ` ?attr/colorOnSurface `
92- ** Min height** | ` app:chipMinHeight ` | ` setChipMinHeight ` <br />` setChipMinHeightResource ` <br />` getChipMinHeight ` | ` 32dp `
93- ** Padding** | ` app:chipStartPadding ` <br />` app:chipEndPadding ` | ` setChip*Padding ` <br />` setChip*PaddingResource ` <br />` getChip*Padding ` | ` 4dp ` (start)<br />` 6dp ` (end)
94- ** Shape** | ` app:shapeAppearance ` <br />` shapeAppearanceOverlay ` | ` setShapeAppearanceModel ` <br />` getShapeAppearanceModel ` | ` ?attr/shapeAppearanceCornerSmall ` with 8dp ` cornerSize `
95- ** Min touch target** | ` app:chipMinTouchTargetSize ` <br />` app:ensureMinTouchTargetSize ` | ` ensureAccessibleTouchTarget ` <br />` setEnsureAccessibleTouchTarget ` <br />` shouldEnsureAccessibleTouchTarget ` | ` 48dp ` <br />` true `
96- ** Checkable** | ` android:checkable ` | ` setCheckable ` <br />` setCheckableResource ` <br />` isCheckable ` | ` true ` (input, suggestion, filter)
86+ Element | Attribute | Related method(s) | Default value
87+ -------------------- | --------------------------------------------------------------- |------------------------------------------------------------------------------------------------------| -------------
88+ ** Color** | ` app:chipBackgroundColor ` | ` setChipBackgroundColor ` <br />` setChipBackgroundColorResource ` <br />` getChipBackgroundColor ` | ` ?attr/colorOnSurface `
89+ ** Ripple color** | ` app:rippleColor ` | ` setRippleColor ` <br />` setRippleColorResource ` <br />` getRippleColor ` | ` ?attr/colorOnSecondaryContainer ` at 12%
90+ ** Stroke width** | ` app:chipStrokeWidth ` | ` setStrokeWidth ` <br />` setChipStrokeWidthResource ` <br />` getChipStrokeWidth ` | ` 1dp `
91+ ** Stroke color** | ` app:chipStrokeColor ` | ` setStrokeColor ` <br />` setChipStrokeColorResource ` <br />` getChipStrokeColor ` | ` ?attr/colorOnSurface `
92+ ** Min height** | ` app:chipMinHeight ` | ` setChipMinHeight ` <br />` setChipMinHeightResource ` <br />` getChipMinHeight ` | ` 32dp `
93+ ** Padding** | ` app:chipStartPadding ` <br />` app:chipEndPadding ` | ` setChip*Padding ` <br />` setChip*PaddingResource ` <br />` getChip*Padding ` | ` 4dp ` (start)<br />` 6dp ` (end)
94+ ** Shape** | ` app:shapeAppearance ` <br />` shapeAppearanceOverlay ` | ` setShapeAppearanceModel ` <br />` getShapeAppearanceModel ` | ` ?attr/shapeAppearanceCornerSmall ` with 8dp ` cornerSize `
95+ ** Min touch target** | ` app:chipMinTouchTargetSize ` <br />` app:ensureMinTouchTargetSize ` | ` ensureAccessibleTouchTarget ` <br />` setEnsureMinTouchTargetSize ` <br />` shouldEnsureMinTouchTargetSize ` | ` 48dp ` <br />` true `
96+ ** Checkable** | ` android:checkable ` | ` setCheckable ` <br />` setCheckableResource ` <br />` isCheckable ` | ` true ` (input, suggestion, filter)
9797
9898### Thumbnail attributes
9999
0 commit comments