---
title: "ListItemScale"
description: "Represents the scale [Float] of ListItem for different interaction states. Note: This scale must
always be a non-negative float."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
class ListItemScale
constructor(
    @FloatRange(from = 0.0) val scale: Float,
    @FloatRange(from = 0.0) val focusedScale: Float,
    @FloatRange(from = 0.0) val pressedScale: Float,
    @FloatRange(from = 0.0) val selectedScale: Float,
    @FloatRange(from = 0.0) val disabledScale: Float,
    @FloatRange(from = 0.0) val focusedSelectedScale: Float,
    @FloatRange(from = 0.0) val focusedDisabledScale: Float,
    @FloatRange(from = 0.0) val pressedSelectedScale: Float,
)
```


Represents the scale `Float` of ListItem for different interaction states. Note: This scale must
always be a non-negative float.

#### Parameters

| | |
| --- | --- |
| scale | the scale used when the ListItem is enabled. |
| focusedScale | the scale used when the ListItem is enabled and focused. |
| pressedScale | the scale used when the ListItem is enabled and pressed. |
| selectedScale | the scale used when the ListItem is enabled and selected. |
| disabledScale | the scale used when the ListItem is not enabled. |
| focusedSelectedScale | the scale used when the ListItem is enabled, focused and selected. |
| focusedDisabledScale | the scale used when the ListItem is not enabled and focused. |
| pressedSelectedScale | the scale used when the ListItem is enabled, pressed and selected. |



## Companion Object

#### Properties

<div class='sourceset sourceset-android'>Android</div>


```kotlin
val None =
        ListItemScale(
            scale = 1f,
            focusedScale = 1f,
            pressedScale = 1f,
            selectedScale = 1f,
            disabledScale = 1f,
            focusedSelectedScale = 1f,
            focusedDisabledScale = 1f,
            pressedSelectedScale = 1f,
        )
```


Signifies the absence of a `ScaleIndication` in ListItem component.





