Compose Modifier

touchTargetAwareSize

Modifier to set both the size and recommended touch target for IconButton and TextButton.

touchTargetAwareSize

Source set: Android
public fun Modifier.touchTargetAwareSize(size: Dp): Modifier

Modifier to set both the size and recommended touch target for IconButton and TextButton.

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: