{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

AndroidViewConfiguration


Summary

Public constructors

android

Public properties

open Long

The minimum duration between the first tap's up event and the second tap's down event for an interaction to be considered a double-tap.

android
open Long

The duration between the first tap's up event and the second tap's down event for an interaction to be considered a double-tap.

android
open Long

The duration before a press turns into a long press.

android
open Float

Distance in pixels a touch can wander before we think the user is scrolling.

android

Inherited properties

From androidx.compose.ui.platform.ViewConfiguration
open DpSize

The minimum touch target size.

android

Public constructors

AndroidViewConfiguration

AndroidViewConfiguration(viewConfiguration: ViewConfiguration)

Public properties

doubleTapMinTimeMillis

open val doubleTapMinTimeMillisLong

The minimum duration between the first tap's up event and the second tap's down event for an interaction to be considered a double-tap.

doubleTapTimeoutMillis

open val doubleTapTimeoutMillisLong

The duration between the first tap's up event and the second tap's down event for an interaction to be considered a double-tap.

longPressTimeoutMillis

open val longPressTimeoutMillisLong

The duration before a press turns into a long press.

touchSlop

open val touchSlopFloat

Distance in pixels a touch can wander before we think the user is scrolling.