How to make SearchView always expanded in android? -


i have searchview in top of layout (not in action bar), there anyway force view expanded (opened)?

if not, wish place fancy image near it, there anyway make searchview hide image when expanded (clicked/expanded)?

you can use property android:iconifiedbydefault="false" on xml or set programatically seticonifiedbydefault(false). acording documentation property set searchview expanded want.

take @ searchview.seticonifiedbydefault(boolean iconified)


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -