ListItemShape
Class
Android
class ListItemShape
constructor(
val shape: Shape,
val focusedShape: Shape,
val pressedShape: Shape,
val selectedShape: Shape,
val disabledShape: Shape,
val focusedSelectedShape: Shape,
val focusedDisabledShape: Shape,
val pressedSelectedShape: Shape
)
Represents the Shape
of ListItem in different interaction states.
Parameters
shape | the shape used when the ListItem is enabled. |
focusedShape | the shape used when the ListItem is enabled and focused. |
pressedShape | the shape used when the ListItem is enabled and pressed. |
selectedShape | the shape used when the ListItem is enabled and selected. |
disabledShape | the shape used when the ListItem is not enabled. |
focusedSelectedShape | the shape used when the ListItem is enabled, focused and selected. |
focusedDisabledShape | the shape used when the ListItem is not enabled and focused. |
pressedSelectedShape | the shape used when the ListItem is enabled, pressed and selected. |