# Typography

# Typography

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

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/wear/protolayout/material/Typography "View this page in Java")

<br />

```
class Typography
```

<br />

*** ** * ** ***

Typography styles, currently set up to match Wear's styling.

## Summary

|                                    ### Constants                                    |
|-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_BODY1](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_BODY1())` = 7` Typography for large body text.            |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_BODY2](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_BODY2())` = 8` Typography for medium body text.           |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_BUTTON](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_BUTTON())` = 9` Typography for bold button text.         |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_CAPTION1](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_CAPTION1())` = 10` Typography for large caption text.  |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_CAPTION2](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_CAPTION2())` = 11` Typography for medium caption text. |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_CAPTION3](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_CAPTION3())` = 12` Typography for small caption text.  |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_DISPLAY1](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_DISPLAY1())` = 1` Typography for large display text.   |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_DISPLAY2](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_DISPLAY2())` = 2` Typography for medium display text.  |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_DISPLAY3](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_DISPLAY3())` = 3` Typography for small display text.   |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_TITLE1](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_TITLE1())` = 4` Typography for large title text.         |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_TITLE2](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_TITLE2())` = 5` Typography for medium title text.        |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TYPOGRAPHY_TITLE3](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/Typography#TYPOGRAPHY_TITLE3())` = 6` Typography for small title text.         |

## Constants

### TYPOGRAPHY_BODY1

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

```
const val TYPOGRAPHY_BODY1 = 7: Int
```

Typography for large body text.  

### TYPOGRAPHY_BODY2

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

```
const val TYPOGRAPHY_BODY2 = 8: Int
```

Typography for medium body text.  

### TYPOGRAPHY_BUTTON

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

```
const val TYPOGRAPHY_BUTTON = 9: Int
```

Typography for bold button text.  

### TYPOGRAPHY_CAPTION1

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

```
const val TYPOGRAPHY_CAPTION1 = 10: Int
```

Typography for large caption text.  

### TYPOGRAPHY_CAPTION2

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

```
const val TYPOGRAPHY_CAPTION2 = 11: Int
```

Typography for medium caption text.  

### TYPOGRAPHY_CAPTION3

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

```
const val TYPOGRAPHY_CAPTION3 = 12: Int
```

Typography for small caption text.  

### TYPOGRAPHY_DISPLAY1

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

```
const val TYPOGRAPHY_DISPLAY1 = 1: Int
```

Typography for large display text.  

### TYPOGRAPHY_DISPLAY2

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

```
const val TYPOGRAPHY_DISPLAY2 = 2: Int
```

Typography for medium display text.  

### TYPOGRAPHY_DISPLAY3

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

```
const val TYPOGRAPHY_DISPLAY3 = 3: Int
```

Typography for small display text.  

### TYPOGRAPHY_TITLE1

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

```
const val TYPOGRAPHY_TITLE1 = 4: Int
```

Typography for large title text.  

### TYPOGRAPHY_TITLE2

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

```
const val TYPOGRAPHY_TITLE2 = 5: Int
```

Typography for medium title text.  

### TYPOGRAPHY_TITLE3

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

```
const val TYPOGRAPHY_TITLE3 = 6: Int
```

Typography for small title text.