TabPosition


Data class that contains information about a tab's position on screen, used for calculating where to place the indicator that shows which tab is selected.

Summary

Public functions

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

Public properties

Dp

the content width of this tab.

Cmn
Dp

the left edge's x position from the start of the TabRow

Cmn
Dp

the right edge's x position from the start of the TabRow

Cmn
Dp

the width of this tab

Cmn

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

contentWidth

val contentWidthDp

the content width of this tab. Should be a minimum of 24.dp

left

val leftDp

the left edge's x position from the start of the TabRow

right

val rightDp

the right edge's x position from the start of the TabRow

width

val widthDp

the width of this tab