I have a SearchView
inside a LinearLayout
and I\'m trying to set a different TextSize
for it (the SearchView
) but when se
Though AutoCompleteTextView
is superclass of SearchAutoComplete
, SearchView
use SearchAutoComplete
rather than AutoCompleteTextView
. use it and do more.
SearchView searchView=...;
SearchView.SearchAutoComplete autoComplete= searchView.findViewById(android.support.v7.appcompat.R.id.search_src_text);
float textSpSize=10.f;
if (autoComplete!=null){
autoComplete.setTextSize(textSpSize);
}