public class PositionIndicatorAlignment internal constructor(internal val pos: Int)
Specifies where in the screen the Position indicator will be.
Functions
toString
override fun toString(): String
Members
Companion
public companion object
Properties
End
public val End: PositionIndicatorAlignment = PositionIndicatorAlignment(0)
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.
OppositeRsb
public val OppositeRsb: PositionIndicatorAlignment = PositionIndicatorAlignment(1)
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.
Left
public val Left: PositionIndicatorAlignment = PositionIndicatorAlignment(2)
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.
Right
public val Right: PositionIndicatorAlignment = PositionIndicatorAlignment(3)
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.