Compose Component

OneHandedGestureClickIndicator

A wrapper that replaces the content to indicate to the user that a gesture action is available.

OneHandedGestureClickIndicator

Source set: Android
@Composable
public fun OneHandedGestureClickIndicator(
    gestureConfiguration: OneHandedGestureConfiguration,
    state: OneHandedGestureClickIndicatorState,
    modifier: Modifier = Modifier,
    gestureIndicatorSize: OneHandedGestureIndicatorSize = OneHandedGestureDefaults.indicatorSize,
    gestureIndicatorTint: Color = OneHandedGestureDefaults.indicatorTint,
    content: @Composable () -> Unit,
)

Parameters

gestureConfiguration the specification for the one-handed gesture
state The state object used to synchronize the indicator visibility.
modifier The Modifier to be applied to the OneHandedGestureClickIndicator layout.
gestureIndicatorSize The size constraints for the gesture indicator icon.
gestureIndicatorTint The color which will be used for a tint of the gesture animation
content The original component content (e.g., Text or Icon) to be displayed when no indicator is active.
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: