# Typography

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

*** ** * ** ***


```
public class Typography
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
>
> Use the new class `https://developer.android.com/reference/androidx/wear/protolayout/material/Typography` which provides the same API and functionality.

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

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_BODY1() = 7` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_BODY2() = 8` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_BUTTON() = 9` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_CAPTION1() = 10` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_CAPTION2() = 11` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_CAPTION3() = 12` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_DISPLAY1() = 1` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_DISPLAY2() = 2` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_DISPLAY3() = 3` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_TITLE1() = 4` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_TITLE2() = 5` **This field is deprecated.** Deprecated in Java |
| `static final int` | `https://developer.android.com/reference/androidx/wear/tiles/material/Typography#TYPOGRAPHY_TITLE3() = 6` **This field is deprecated.** Deprecated in Java |

## Constants

### TYPOGRAPHY_BODY1

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_BODY1 = 7
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for large body text.

### TYPOGRAPHY_BODY2

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_BODY2 = 8
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for medium body text.

### TYPOGRAPHY_BUTTON

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_BUTTON = 9
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for bold button text.

### TYPOGRAPHY_CAPTION1

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_CAPTION1 = 10
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for large caption text.

### TYPOGRAPHY_CAPTION2

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_CAPTION2 = 11
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for medium caption text.

### TYPOGRAPHY_CAPTION3

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_CAPTION3 = 12
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for small caption text.

### TYPOGRAPHY_DISPLAY1

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_DISPLAY1 = 1
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for large display text.

### TYPOGRAPHY_DISPLAY2

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_DISPLAY2 = 2
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for medium display text.

### TYPOGRAPHY_DISPLAY3

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_DISPLAY3 = 3
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for small display text.

### TYPOGRAPHY_TITLE1

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_TITLE1 = 4
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for large title text.

### TYPOGRAPHY_TITLE2

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_TITLE2 = 5
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for medium title text.

### TYPOGRAPHY_TITLE3

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public static final int TYPOGRAPHY_TITLE3 = 6
```

> [!CAUTION]
> **This field is deprecated.**   
> Deprecated in Java

Typography for small title text.