# PlayerView.ImageDisplayMode

# PlayerView.ImageDisplayMode

Artifact:[androidx.media3:media3-ui](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/ui/PlayerView.java+class:androidx.media3.ui.PlayerView.ImageDisplayMode)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/ui/PlayerView.ImageDisplayMode "View this page in Java")

<br />

```
@UnstableApi
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@IntDef(value = )
annotation PlayerView.ImageDisplayMode
```

<br />

*** ** * ** ***

Determines the image display mode.[IMAGE_DISPLAY_MODE_FIT](https://developer.android.com/reference/kotlin/androidx/media3/ui/PlayerView#IMAGE_DISPLAY_MODE_FIT())or[IMAGE_DISPLAY_MODE_FILL](https://developer.android.com/reference/kotlin/androidx/media3/ui/PlayerView#IMAGE_DISPLAY_MODE_FILL()).