# PositionIndicatorAlignment

# PositionIndicatorAlignment

Artifact:[androidx.wear.compose:compose-material](https://developer.android.com/jetpack/androidx/releases/wear-compose)  
[View Source](https://cs.android.com/search?q=file:androidx/wear/compose/material/PositionIndicator.kt+class:androidx.wear.compose.material.PositionIndicatorAlignment)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.0.0)

<br />

```
value class PositionIndicatorAlignment
```

<br />

*** ** * ** ***

Specifies where in the screen the Position indicator will be.

## Summary

|                                                    ### Public companion properties                                                     |
|----------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [PositionIndicatorAlignment](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PositionIndicatorAlignment) | [End](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PositionIndicatorAlignment#End()) 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.                                                                            |
| [PositionIndicatorAlignment](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PositionIndicatorAlignment) | [Left](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PositionIndicatorAlignment#Left()) Position the indicator at the left of the screen.                                                                                                                                                        |
| [PositionIndicatorAlignment](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PositionIndicatorAlignment) | [OppositeRsb](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PositionIndicatorAlignment#OppositeRsb()) Position the indicator opposite to the physical rotating side button (RSB).                                                                                                                |
| [PositionIndicatorAlignment](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PositionIndicatorAlignment) | [Right](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PositionIndicatorAlignment#Right()) 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. |

|                                   ### Public functions                                   |
|------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/androidx/wear/compose/material/PositionIndicatorAlignment#toString())`()` |

## Public companion properties

### End

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.0.0)  

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

### Left

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.0.0)  

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

### OppositeRsb

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.0.0)  

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

### Right

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.0.0)  

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

## Public functions

### toString

```
open fun toString(): String
```