SearchInputViewStyle

data class SearchInputViewStyle(@ColorInt val textColor: Int, @ColorInt val hintColor: Int, val searchIconDrawable: Drawable, val clearInputDrawable: Drawable, val backgroundDrawable: Drawable, val backgroundDrawableOutline: SearchInputViewStyle.DrawableOutline?, @ColorInt val containerBackgroundColor: Int, val hintText: String, val textSize: Int, @Px val textMarginStart: Int, @Px val textMarginEnd: Int, val searchInputHeight: Int, @Px val searchIconWidth: Int, @Px val searchIconHeight: Int, @Px val searchIconMarginStart: Int, @Px val clearIconWidth: Int, @Px val clearIconHeight: Int, @Px val clearIconMarginEnd: Int) : ViewStyle

Constructors

Link copied to clipboard
constructor(@ColorInt textColor: Int, @ColorInt hintColor: Int, searchIconDrawable: Drawable, clearInputDrawable: Drawable, backgroundDrawable: Drawable, backgroundDrawableOutline: SearchInputViewStyle.DrawableOutline?, @ColorInt containerBackgroundColor: Int, hintText: String, textSize: Int, @Px textMarginStart: Int, @Px textMarginEnd: Int, searchInputHeight: Int, @Px searchIconWidth: Int, @Px searchIconHeight: Int, @Px searchIconMarginStart: Int, @Px clearIconWidth: Int, @Px clearIconHeight: Int, @Px clearIconMarginEnd: Int)

Types

Link copied to clipboard
data class DrawableOutline(@Px val width: Int, @ColorInt val color: Int)

Represents the outline of the drawable.

Properties

Link copied to clipboard

Drawable used as the view's background.

Link copied to clipboard

The height of the clear icon.

Link copied to clipboard

The end margin of the clear icon.

Link copied to clipboard

The width of the clear icon.

Link copied to clipboard

Drawable of clear input icon visible on the left side of the SearchInputView.

Link copied to clipboard

Color of the container background.

Link copied to clipboard

Color value of the search input hint.

Link copied to clipboard

Hint text.

Link copied to clipboard

Drawable of search icon visible on the right side of the SearchInputView.

Link copied to clipboard

The height of the search icon.

Link copied to clipboard

The start margin of the search icon.

Link copied to clipboard

The width of the search icon.

Link copied to clipboard

The height of the root container.

Link copied to clipboard

Color value of the search input text.

Link copied to clipboard

The end margin of the input text.

Link copied to clipboard

The start margin of the input text.

Link copied to clipboard

The size of the text in the input.