# Layout.Alignment

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Alignment

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/text/Layout.Alignment "View this page in Java")  

```
class Alignment
```

|---|---|----------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                    |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\<[android.text.Layout.Alignment](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#)\> ||
|   | ↳ | [android.text.Layout.Alignment](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#) |

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [Layout.Alignment.ALIGN_CENTER](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#ENUM_VALUE:ALIGN_CENTER),[Layout.Alignment.ALIGN_NORMAL](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#ENUM_VALUE:ALIGN_NORMAL),[Layout.Alignment.ALIGN_OPPOSITE](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#ENUM_VALUE:ALIGN_OPPOSITE) |-------------------------------------------------------------------------------------------------------------------------------------------|--------| | [Layout.Alignment.ALIGN_CENTER](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#ENUM_VALUE:ALIGN_CENTER)     | <br /> | | [Layout.Alignment.ALIGN_NORMAL](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#ENUM_VALUE:ALIGN_NORMAL)     | <br /> | | [Layout.Alignment.ALIGN_OPPOSITE](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#ENUM_VALUE:ALIGN_OPPOSITE) | <br /> | |

## Summary

|                                                            Enum values                                                             ||
|---------------------------------------------------------------------------------------------------------------------------------|---|
| [ALIGN_CENTER](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#ENUM_VALUE:ALIGN_CENTER) <br />     |
| [ALIGN_NORMAL](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#ENUM_VALUE:ALIGN_NORMAL) <br />     |
| [ALIGN_OPPOSITE](https://developer.android.com/reference/kotlin/android/text/Layout.Alignment#ENUM_VALUE:ALIGN_OPPOSITE) <br /> |

## Enum values

### ALIGN_CENTER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val ALIGN_CENTER : Layout.Alignment
```  

### ALIGN_NORMAL

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val ALIGN_NORMAL : Layout.Alignment
```  

### ALIGN_OPPOSITE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val ALIGN_OPPOSITE : Layout.Alignment
```