public final class

ViewStyle.Builder

extends ViewStyle.BaseBuilder<ViewStyle, ViewStyle.Builder>

 java.lang.Object

androidx.autofill.inline.common.BundledStyle.Builder<ViewStyle>

androidx.autofill.inline.common.ViewStyle.BaseBuilder<ViewStyle, ViewStyle.Builder>

↳androidx.autofill.inline.common.ViewStyle.Builder

Overview

Builder for the ViewStyle.

Summary

Fields
from BundledStyle.Builder<T>mBundle
Constructors
publicBuilder()

Methods
public abstract BundledStylebuild()

Returns a subclass of BundledStyle built by this builder.

protected abstract ViewStyle.BaseBuilder<T, B>getThis()

Returns this with the actual type of the subclass, so the setter methods can be chained.

from ViewStyle.BaseBuilder<T, B>setBackground, setBackgroundColor, setLayoutMargin, setPadding
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Methods

protected abstract ViewStyle.BaseBuilder<T, B> getThis()

Returns this with the actual type of the subclass, so the setter methods can be chained.

public abstract BundledStyle build()

Returns a subclass of BundledStyle built by this builder.