Google is committed to advancing racial equity for Black communities. See how.

TabPosition

@Immutable data class TabPosition
kotlin.Any
   ↳ androidx.ui.material.TabRow.TabPosition

Data class that contains information about a tab's position on screen

Summary

Properties
Dp

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

Dp

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

Dp

the width of this tab

Properties

left

val left: Dp

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

val right: Dp

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

width

val width: Dp

the width of this tab