DividerAttributes.DraggableDividerAttributes


class DividerAttributes.DraggableDividerAttributes : DividerAttributes


The attributes of a draggable divider. A draggable divider draws a line between the primary and secondary containers with a drag handle that the user can drag and resize the containers.

While dragging, the content of the activity is temporarily covered by a solid color veil, where the color is determined by the window background color of the activity. Apps may use android.app.Activity.getWindow and android.view.Window.setBackgroundDrawable to configure the veil colors.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

DividerAttributes.DragRange

the range that a divider is allowed to be dragged.

Inherited properties

From androidx.window.embedding.DividerAttributes
Int

the color of the divider.

Int

the width of the divider.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

dragRange

Added in 1.4.0-alpha01
val dragRangeDividerAttributes.DragRange

the range that a divider is allowed to be dragged. When the user drags the divider beyond this range, the system will choose to either fully expand the container or move the divider back into the range.