Class SearchInputViewStyle
-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class SearchInputViewStyle implements ViewStyle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSearchInputViewStyle.DrawableOutlineRepresents the outline of the drawable.
-
Field Summary
Fields Modifier and Type Field Description private final IntegertextColorprivate final IntegerhintColorprivate final DrawablesearchIconDrawableprivate final DrawableclearInputDrawableprivate final DrawablebackgroundDrawableprivate final SearchInputViewStyle.DrawableOutlinebackgroundDrawableOutlineprivate final IntegercontainerBackgroundColorprivate final StringhintTextprivate final IntegertextSizeprivate final IntegertextMarginStartprivate final IntegertextMarginEndprivate final IntegersearchInputHeightprivate final IntegersearchIconWidthprivate final IntegersearchIconHeightprivate final IntegersearchIconMarginStartprivate final IntegerclearIconWidthprivate final IntegerclearIconHeightprivate final IntegerclearIconMarginEnd
-
Constructor Summary
Constructors Constructor Description SearchInputViewStyle(Integer textColor, Integer hintColor, Drawable searchIconDrawable, Drawable clearInputDrawable, Drawable backgroundDrawable, SearchInputViewStyle.DrawableOutline backgroundDrawableOutline, Integer containerBackgroundColor, String hintText, Integer textSize, Integer textMarginStart, Integer textMarginEnd, Integer searchInputHeight, Integer searchIconWidth, Integer searchIconHeight, Integer searchIconMarginStart, Integer clearIconWidth, Integer clearIconHeight, Integer clearIconMarginEnd)
-
Method Summary
Modifier and Type Method Description final IntegergetTextColor()Color value of the search input text. final IntegergetHintColor()Color value of the search input hint. final DrawablegetSearchIconDrawable()Drawable of search icon visible on the right side of the SearchInputView. final DrawablegetClearInputDrawable()Drawable of clear input icon visible on the left side of the SearchInputView. final DrawablegetBackgroundDrawable()Drawable used as the view's background. final SearchInputViewStyle.DrawableOutlinegetBackgroundDrawableOutline()final IntegergetContainerBackgroundColor()Color of the container background. final StringgetHintText()Hint text. final IntegergetTextSize()The size of the text in the input. final IntegergetTextMarginStart()The start margin of the input text. final IntegergetTextMarginEnd()The end margin of the input text. final IntegergetSearchInputHeight()The height of the root container. final IntegergetSearchIconWidth()The width of the search icon. final IntegergetSearchIconHeight()The height of the search icon. final IntegergetSearchIconMarginStart()The start margin of the search icon. final IntegergetClearIconWidth()The width of the clear icon. final IntegergetClearIconHeight()The height of the clear icon. final IntegergetClearIconMarginEnd()The end margin of the clear icon. -
-
Constructor Detail
-
SearchInputViewStyle
SearchInputViewStyle(Integer textColor, Integer hintColor, Drawable searchIconDrawable, Drawable clearInputDrawable, Drawable backgroundDrawable, SearchInputViewStyle.DrawableOutline backgroundDrawableOutline, Integer containerBackgroundColor, String hintText, Integer textSize, Integer textMarginStart, Integer textMarginEnd, Integer searchInputHeight, Integer searchIconWidth, Integer searchIconHeight, Integer searchIconMarginStart, Integer clearIconWidth, Integer clearIconHeight, Integer clearIconMarginEnd)
-
-
Method Detail
-
getTextColor
final Integer getTextColor()
Color value of the search input text.
-
getHintColor
final Integer getHintColor()
Color value of the search input hint.
-
getSearchIconDrawable
final Drawable getSearchIconDrawable()
Drawable of search icon visible on the right side of the SearchInputView.
-
getClearInputDrawable
final Drawable getClearInputDrawable()
Drawable of clear input icon visible on the left side of the SearchInputView.
-
getBackgroundDrawable
final Drawable getBackgroundDrawable()
Drawable used as the view's background.
-
getBackgroundDrawableOutline
final SearchInputViewStyle.DrawableOutline getBackgroundDrawableOutline()
-
getContainerBackgroundColor
final Integer getContainerBackgroundColor()
Color of the container background.
-
getHintText
final String getHintText()
Hint text.
-
getTextSize
final Integer getTextSize()
The size of the text in the input.
-
getTextMarginStart
final Integer getTextMarginStart()
The start margin of the input text.
-
getTextMarginEnd
final Integer getTextMarginEnd()
The end margin of the input text.
-
getSearchInputHeight
final Integer getSearchInputHeight()
The height of the root container.
-
getSearchIconWidth
final Integer getSearchIconWidth()
The width of the search icon.
-
getSearchIconHeight
final Integer getSearchIconHeight()
The height of the search icon.
-
getSearchIconMarginStart
final Integer getSearchIconMarginStart()
The start margin of the search icon.
-
getClearIconWidth
final Integer getClearIconWidth()
The width of the clear icon.
-
getClearIconHeight
final Integer getClearIconHeight()
The height of the clear icon.
-
getClearIconMarginEnd
final Integer getClearIconMarginEnd()
The end margin of the clear icon.
-
-
-
-