# ViewStyle

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) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

*** ** * ** ***


```
@RequiresApi(api = Build.VERSION_CODES.R)
public class ViewStyle
```

<br />

Known direct subclasses [ImageViewStyle](https://developer.android.com/reference/androidx/autofill/inline/common/ImageViewStyle), [TextViewStyle](https://developer.android.com/reference/androidx/autofill/inline/common/TextViewStyle)

|---|---|
| `https://developer.android.com/reference/androidx/autofill/inline/common/ImageViewStyle` | Specifies the style for an `https://developer.android.com/reference/android/widget/ImageView.html`. |
| `https://developer.android.com/reference/androidx/autofill/inline/common/TextViewStyle` | Specifies the style for a `https://developer.android.com/reference/android/widget/TextView.html`. |

*** ** * ** ***

Specifies the style for a `https://developer.android.com/reference/android/view/View.html` or a `https://developer.android.com/reference/android/view/ViewGroup.html`.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/autofill/inline/common/ViewStyle.Builder` Builder for the `https://developer.android.com/reference/androidx/autofill/inline/common/ViewStyle`. |