Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

androidx.compose.foundation

Interfaces

Indication

Indication represents visual effects that occur when certain interactions happens.

IndicationInstance

IndicationInstance is a specific instance of an Indication that draws visual effects on certain interactions, such as press or focus.

Classes

AtomicReference

BorderStroke

Class to specify the stroke to draw border with.

MutatorMutex

Mutual exclusion for UI state mutation over time.

ScrollState

State of the scroll.

Annotations

ExperimentalFoundationApi

InternalFoundationApi

Enums

MutatePriority

Priorities for performing mutation on state.

Top-level functions summary

BorderStroke
BorderStroke(width: Dp, color: Color)

Create BorderStroke class with width and Color

Unit
Canvas(modifier: Modifier, onDraw: DrawScope.() -> Unit)

Component that allow you to specify an area on the screen and perform canvas drawing on this area.

Unit
Image(bitmap: ImageBitmap, contentDescription: String?, modifier: Modifier = Modifier, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null)

A composable that lays out and draws a given ImageBitmap.

Unit
Image(imageVector: ImageVector, contentDescription: String?, modifier: Modifier = Modifier, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null)

A composable that lays out and draws a given ImageVector.

Unit
Image(painter: Painter, contentDescription: String?, modifier: Modifier = Modifier, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null)

Creates a composable that lays out and draws a given Painter.

Boolean

This function should be used to help build responsive UIs that follow the system setting, to avoid harsh contrast changes when switching between applications.

ScrollState
rememberScrollState(initial: Int = 0)

Create and remember the ScrollState based on the currently appropriate scroll configuration to allow changing scroll position or observing scroll behavior.

Top-level properties summary

ProvidableCompositionLocal<Indication>

CompositionLocal that provides an Indication through the hierarchy.

Extension functions summary

For