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

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

php - facebook and github login HWIOAuthBundle and FOSUserBundle in Symfony2.1 -

hadoop - Sqoop installation export and import from postgresql -