# AndroidViewConfiguration

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidViewConfiguration.android.kt+class:androidx.compose.ui.platform.AndroidViewConfiguration) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/AllAndroid/JVM
- android

  ```
  class AndroidViewConfiguration : ViewConfiguration
  ```

*** ** * ** ***

A `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewConfiguration` with Android's default configurations. Derived from `https://developer.android.com/reference/android/view/ViewConfiguration.html`

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration#AndroidViewConfiguration(android.view.ViewConfiguration)(viewConfiguration: https://developer.android.com/reference/android/view/ViewConfiguration.html)` | android |

| ### Public properties |
|---|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration#doubleTapMinTimeMillis()` 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 https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration#doubleTapTimeoutMillis()` 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 https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration#handwritingGestureLineMargin()` Margin in pixels around text line bounds where stylus handwriting gestures should be supported. | android |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration#handwritingSlop()` Distance in pixels a stylus touch can wander before we think the user is handwriting. | android |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration#longPressTimeoutMillis()` The duration before a press turns into a long press. | android |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration#maximumFlingVelocity()` The maximum velocity a fling have at any given time. | android |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration#minimumFlingVelocity()` Minimum velocity to initiate a fling, as measured in pixels per second | android |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration#touchSlop()` Distance in pixels a touch can wander before we think the user is scrolling. | android |

| ### Inherited properties |
|---|
| From [androidx.compose.ui.platform.ViewConfiguration](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewConfiguration) |---|---|---| | `open https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewConfiguration#minimumTouchTargetSize()` The minimum touch target size. | android | |

## Public constructors

### AndroidViewConfiguration

android Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
AndroidViewConfiguration(viewConfiguration: ViewConfiguration)
```

## Public properties

### doubleTapMinTimeMillis

android

```
open val doubleTapMinTimeMillis: 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.

### doubleTapTimeoutMillis

android

```
open val doubleTapTimeoutMillis: 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.

### handwritingGestureLineMargin

android

```
open val handwritingGestureLineMargin: Float
```

Margin in pixels around text line bounds where stylus handwriting gestures should be supported.

### handwritingSlop

android

```
open val handwritingSlop: Float
```

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

### longPressTimeoutMillis

android

```
open val longPressTimeoutMillis: Long
```

The duration before a press turns into a long press.

### maximumFlingVelocity

android

```
open val maximumFlingVelocity: Float
```

The maximum velocity a fling have at any given time. This value should be in pixels/second.

### minimumFlingVelocity

android

```
open val minimumFlingVelocity: Float
```

Minimum velocity to initiate a fling, as measured in pixels per second

### touchSlop

android

```
open val touchSlop: Float
```

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