# CondensedItemStyle

Artifact: [androidx.car.app:app](https://developer.android.com/jetpack/androidx/releases/car-app) [View Source](https://cs.android.com/search?q=file:androidx/car/app/model/CondensedItemStyle.java+class:androidx.car.app.model.CondensedItemStyle) Added in [1.9.0-alpha03](https://developer.android.com/jetpack/androidx/releases/car-app#1.9.0-alpha03)

*** ** * ** ***


```
@RequiresCarApi(value = 9)
@ExperimentalCarApi
@CarProtocol
class CondensedItemStyle
```

<br />

*** ** * ** ***

Holds properties related ONLY to the visual container around a `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItem`.

## Summary

| ### Nested types |
|---|
| `@https://developer.android.com/reference/kotlin/androidx/car/app/annotations/RequiresCarApi(value = 9) @https://developer.android.com/reference/kotlin/androidx/car/app/annotations/ExperimentalCarApi class https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle.Builder` A builder for `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle`. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle#equals(java.lang.Object)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Background?` | `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle#getBackground()()` Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/model/Background` of the container, or `null` if not set. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/model/Shape?` | `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle#getShape()()` Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/model/Shape` of the container, or `null` if not set. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle#hashCode()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/car/app/model/CondensedItemStyle#toString()()` |

## Public functions

### equals

```
fun equals(other: Any?): Boolean
```

### getBackground

Added in [1.9.0-alpha03](https://developer.android.com/jetpack/androidx/releases/car-app#1.9.0-alpha03)

```
fun getBackground(): Background?
```

Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/model/Background` of the container, or `null` if not set.

### getShape

Added in [1.9.0-alpha03](https://developer.android.com/jetpack/androidx/releases/car-app#1.9.0-alpha03)

```
fun getShape(): Shape?
```

Returns the `https://developer.android.com/reference/kotlin/androidx/car/app/model/Shape` of the container, or `null` if not set.

### hashCode

```
fun hashCode(): Int
```

### toString

```
fun toString(): String
```