Function

FontWeightAdjustment

A DeviceConfigurationOverride that overrides the font weight adjustment for the contained content.

FontWeightAdjustment

Source set: Android
public fun DeviceConfigurationOverride.Companion.FontWeightAdjustment(
    fontWeightAdjustment: Int
): DeviceConfigurationOverride

A DeviceConfigurationOverride that overrides the font weight adjustment for the contained content.

Parameters

fontWeightAdjustment the font weight adjustment to use to render the content under test.

Return

a DeviceConfigurationOverride that specifies the font weight adjustment 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: