Function

LayoutDirection

LayoutDirection

Source set: Android
public fun DeviceConfigurationOverride.Companion.LayoutDirection(
    layoutDirection: LayoutDirection
): DeviceConfigurationOverride

LayoutDirection

Source set: Common
public fun DeviceConfigurationOverride.Companion.LayoutDirection(
    layoutDirection: LayoutDirection
): DeviceConfigurationOverride

A DeviceConfigurationOverride that overrides the layout direction for the contained content.

Parameters

layoutDirection the LayoutDirection to use for the content under test.

Return

a DeviceConfigurationOverride that specifies the layout direction for the content under test.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: