PositionIndicatorAlignment

Class

Android
public value class PositionIndicatorAlignment internal constructor(internal val pos: Int)

Specifies where in the screen the Position indicator will be.

Companion Object

Properties

Android
public val End: PositionIndicatorAlignment

Position the indicator at the end of the layout (at the right for LTR and left for RTL) This is the norm for scroll indicators.

Android
public val OppositeRsb: PositionIndicatorAlignment

Position the indicator opposite to the physical rotating side button (RSB). (at the left by default and at the right if the device is rotated 180 degrees) This is the default for RSB indicators as we want to avoid it being obscured when the user is interacting with the RSB.

Android
public val Left: PositionIndicatorAlignment

Position the indicator at the left of the screen. This is useful to implement custom positioning, but usually PositionIndicatorAlignment#End or PositionIndicatorAlignment#OppositeRsb should be used.

Android
public val Right: PositionIndicatorAlignment

Position the indicator at the right of the screen This is useful to implement custom positioning, but usually PositionIndicatorAlignment#End or PositionIndicatorAlignment#OppositeRsb should be used.