Google is committed to advancing racial equity for Black communities. See how.

InlineSuggestionUi.Style

public static final class InlineSuggestionUi.Style
extends Object implements UiVersions.Style

java.lang.Object
   ↳ androidx.autofill.inline.v1.InlineSuggestionUi.Style


Style for the V1 inline suggestion UI.

Summary

Nested classes

class InlineSuggestionUi.Style.Builder

Builder for the InlineSuggestionUi.Style

Fields

protected final Bundle mBundle

Public methods

ViewStyle getChipStyle()
ImageViewStyle getEndIconStyle()
int getLayoutDirection()
ImageViewStyle getSingleIconChipIconStyle()
ViewStyle getSingleIconChipStyle()
ImageViewStyle getStartIconStyle()
TextViewStyle getSubtitleStyle()
TextViewStyle getTitleStyle()

Protected methods

abstract String getStyleKey()

Allows the subclass to define their own style key by implementing this method.

Inherited methods

Fields

mBundle

protected final Bundle mBundle

Public methods

getChipStyle

public ViewStyle getChipStyle ()

Returns
ViewStyle

getEndIconStyle

public ImageViewStyle getEndIconStyle ()

Returns
ImageViewStyle

getLayoutDirection

public int getLayoutDirection ()

Returns
int

getSingleIconChipIconStyle

public ImageViewStyle getSingleIconChipIconStyle ()

Returns
ImageViewStyle

getSingleIconChipStyle

public ViewStyle getSingleIconChipStyle ()

Returns
ViewStyle

getStartIconStyle

public ImageViewStyle getStartIconStyle ()

Returns
ImageViewStyle

getSubtitleStyle

public TextViewStyle getSubtitleStyle ()

Returns
TextViewStyle

getTitleStyle

public TextViewStyle getTitleStyle ()

Returns
TextViewStyle

Protected methods

getStyleKey

protected abstract String getStyleKey ()

Allows the subclass to define their own style key by implementing this method.

Returns
String