---
title: "PositionIndicatorAlignment"
description: "Specifies where in the screen the Position indicator will be."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


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


Specifies where in the screen the Position indicator will be.


## Companion Object

#### Properties

<div class='sourceset sourceset-android'>Android</div>


```kotlin
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.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
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.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
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.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
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.





