public final class

InlineSuggestionUi.Style

extends BundledStyle

implements UiVersions.Style

 java.lang.Object

androidx.autofill.inline.common.BundledStyle

↳androidx.autofill.inline.v1.InlineSuggestionUi.Style

Overview

Style for the V1 inline suggestion UI.

Summary

Fields
from BundledStylemBundle
Methods
public voidapplyStyle(View singleIconChipView, ImageView singleIconView)

public voidapplyStyle(View chipView, ImageView startIconView, TextView titleView, TextView subtitleView, ImageView endIconView)

public ViewStylegetChipStyle()

public ImageViewStylegetEndIconStyle()

public intgetLayoutDirection()

public ImageViewStylegetSingleIconChipIconStyle()

public ViewStylegetSingleIconChipStyle()

public ImageViewStylegetStartIconStyle()

protected abstract java.lang.StringgetStyleKey()

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

public TextViewStylegetSubtitleStyle()

public TextViewStylegetTitleStyle()

public java.lang.StringgetVersion()

from BundledStyleassertIsValid, getBundle, isValid
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

protected abstract java.lang.String getStyleKey()

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

public void applyStyle(View singleIconChipView, ImageView singleIconView)

public void applyStyle(View chipView, ImageView startIconView, TextView titleView, TextView subtitleView, ImageView endIconView)

public java.lang.String getVersion()

public int getLayoutDirection()

See also: InlineSuggestionUi.Style.Builder.setLayoutDirection(int)

public ViewStyle getChipStyle()

See also: InlineSuggestionUi.Style.Builder.setChipStyle(ViewStyle)

public TextViewStyle getTitleStyle()

See also: InlineSuggestionUi.Style.Builder.setTitleStyle(TextViewStyle)

public TextViewStyle getSubtitleStyle()

See also: InlineSuggestionUi.Style.Builder.setSubtitleStyle(TextViewStyle)

public ImageViewStyle getStartIconStyle()

See also: InlineSuggestionUi.Style.Builder.setStartIconStyle(ImageViewStyle)

public ImageViewStyle getEndIconStyle()

See also: InlineSuggestionUi.Style.Builder.setEndIconStyle(ImageViewStyle)

public ViewStyle getSingleIconChipStyle()

See also: InlineSuggestionUi.Style.Builder.setSingleIconChipStyle(ViewStyle)

public ImageViewStyle getSingleIconChipIconStyle()

See also: InlineSuggestionUi.Style.Builder.setSingleIconChipIconStyle(ImageViewStyle)