Function

RoundScreen

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

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.