# DividerAttributes.DragRange

# DividerAttributes.DragRange

Artifact:[androidx.window:window](https://developer.android.com/jetpack/androidx/releases/window)  
[View Source](https://cs.android.com/search?q=file:androidx/window/embedding/DividerAttributes.kt+class:androidx.window.embedding.DividerAttributes.DragRange)  
Added in[1.4.0](https://developer.android.com/jetpack/androidx/releases/window#1.4.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/window/embedding/DividerAttributes.DragRange "View this page in Java")

<br />

```
abstract class DividerAttributes.DragRange
```

<br />

Known direct subclasses  
[DividerAttributes.DragRange.SplitRatioDragRange](https://developer.android.com/reference/kotlin/androidx/window/embedding/DividerAttributes.DragRange.SplitRatioDragRange)  

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
| [DividerAttributes.DragRange.SplitRatioDragRange](https://developer.android.com/reference/kotlin/androidx/window/embedding/DividerAttributes.DragRange.SplitRatioDragRange) | A drag range represented as an interval of the primary container's split ratios. |

*** ** * ** ***

Describes the range that the user is allowed to drag the draggable divider.  

|                                                                                  See also                                                                                   |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [DividerAttributes.DragRange.SplitRatioDragRange](https://developer.android.com/reference/kotlin/androidx/window/embedding/DividerAttributes.DragRange.SplitRatioDragRange) |   |
| [DRAG_RANGE_SYSTEM_DEFAULT](https://developer.android.com/reference/kotlin/androidx/window/embedding/DividerAttributes.DragRange#DRAG_RANGE_SYSTEM_DEFAULT())               |   |

## Summary

|                                                                                                                                                                                               ### Nested types                                                                                                                                                                                               |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[DividerAttributes.DragRange.SplitRatioDragRange](https://developer.android.com/reference/kotlin/androidx/window/embedding/DividerAttributes.DragRange.SplitRatioDragRange)` : `[DividerAttributes.DragRange](https://developer.android.com/reference/kotlin/androidx/window/embedding/DividerAttributes.DragRange) A drag range represented as an interval of the primary container's split ratios. |

|                                                   ### Public companion properties                                                   |
|-------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DividerAttributes.DragRange](https://developer.android.com/reference/kotlin/androidx/window/embedding/DividerAttributes.DragRange) | [DRAG_RANGE_SYSTEM_DEFAULT](https://developer.android.com/reference/kotlin/androidx/window/embedding/DividerAttributes.DragRange#DRAG_RANGE_SYSTEM_DEFAULT()) A special value to indicate that the system will choose default values based on the display size and form factor. |

## Public companion properties

### DRAG_RANGE_SYSTEM_DEFAULT

```
val DRAG_RANGE_SYSTEM_DEFAULT: DividerAttributes.DragRange
```

A special value to indicate that the system will choose default values based on the display size and form factor.  

|                                                                    See also                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [dragRange](https://developer.android.com/reference/kotlin/androidx/window/embedding/DividerAttributes.DraggableDividerAttributes#dragRange()) |   |