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

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

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