---
title: "RoundScreen"
description: "A [DeviceConfigurationOverride] that overrides whether the screen is round for the contained
content."
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-android'>Android</div>


```kotlin
@RequiresApi(23)
fun DeviceConfigurationOverride.Companion.RoundScreen(
    isScreenRound: Boolean
): DeviceConfigurationOverride
```


A `DeviceConfigurationOverride` that overrides whether the screen is round for the contained
content.

#### Parameters

| | |
| --- | --- |
| isScreenRound | if `true`, render content under test in a round screen. |


#### Returns

| | |
| --- | --- |
|  | a `DeviceConfigurationOverride` that specifies whether the screen is round for the content under test. |




## Code Examples
### DeviceConfigurationOverrideRoundScreenSample
```kotlin
@Composable
fun DeviceConfigurationOverrideRoundScreenSample() {
    DeviceConfigurationOverride(DeviceConfigurationOverride.RoundScreen(true)) {
        LocalConfiguration.current.isScreenRound // will be true
    }
}
```

