-
-
Notifications
You must be signed in to change notification settings - Fork 0
Public methods
Federico Navarrete edited this page Jul 1, 2019
·
1 revision
AddTextChangeListener(TextWatcher textWatcher)
ClearSuggestions()
DisableSearch()
EnableSearch()
GetLastSuggestions()
PopUpMenu
GetText()
HideSuggestionList()
InflateMenu(int menuResource)
InflateMenu(int menuResource, int icon)
IsSearchEnabled
IsSpeechModeEnabled()
IsSuggestionsVisible
SetArrowIcon(int arrowIconResId)
SetArrowIconTint(Color arrowIconTint)
SetCardViewElevation(int elevation)
SetClearIcon(int clearIconResId)
SetClearIconTint(Color clearIconTint)
SetCustomSuggestionAdapter(SuggestionsAdapter suggestionAdapter)
SetDividerColor(int dividerColor)
SetHint(string hintText)
SetIconRippleStyle(bool borderlessRippleEnabled)
SetLastSuggestions(List<string> suggestions)
SetMaxSuggestionCount(int maxSuggestionsCount)
SetMenuDividerEnabled(bool menuDividerEnabled)
SetMenuIcon(int menuIconResId)
SetMenuIconTint(Color menuIconTint)
SetNavButtonEnabled(bool navButtonEnabled)
SetNavIconTint(Color navIconTint)
SetOnSearchActionListener(IOnSearchActionListener onSearchActionListener)
SetPlaceHolder(string placeholder)
SetPlaceHolderColor(ColorStateList placeholderColor)
SetRoundedSearchBarEnabled(bool roundedSearchBarEnabled)
SetSearchIcon(int searchIconResId)
SetSearchIconTint(Color searchIconTint)
SetSpeechModeEnabled(bool speechMode)
SetSuggestionsClickListener(SuggestionsAdapter.IOnItemViewClickListener listener)
SetText(string text)
SetTextColor(ColorStateList textColor)
SetTextHighlightColor(ColorStateList highlightedTextColor)
SetTextHintColor(ColorStateList hintColor)
ShowSuggestionsList()
UpdateLastSuggestions(List<string> suggestions)
YouTube | Amazon | Goodreads | Cyber Prophets | Sharing Your Stories | TikTok | ||
---|---|---|---|---|---|---|---|
© Federico Navarrete and Supernova IC, 2017-2024. Based on: MaterialSearchBar by Mansur Nashaev.