Function

RoundScreen

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

RoundScreen

Android
@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.