# ViewStyle.Builder

Artifact: [androidx.autofill:autofill](https://developer.android.com/jetpack/androidx/releases/autofill) [View Source](https://cs.android.com/search?q=file:androidx/autofill/inline/common/ViewStyle.java+class:androidx.autofill.inline.common.ViewStyle.Builder) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

*** ** * ** ***


```
public final class ViewStyle.Builder
```

<br />

*** ** * ** ***

Builder for the `https://developer.android.com/reference/androidx/autofill/inline/common/ViewStyle`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/autofill/inline/common/ViewStyle.Builder#Builder()()` |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/autofill/inline/common/ViewStyle` | `https://developer.android.com/reference/androidx/autofill/inline/common/ViewStyle.Builder#build()()` Returns a subclass of `https://developer.android.com/reference/androidx/autofill/inline/common/BundledStyle` built by this builder. |

## Public constructors

### Builder

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

```
public Builder()
```

## Public methods

### build

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

```
public @NonNull ViewStyle build()
```

Returns a subclass of `https://developer.android.com/reference/androidx/autofill/inline/common/BundledStyle` built by this builder.