You can use the property android:iconifiedByDefault="false"
on XML or set programatically setIconifiedByDefault(false)
. Acording to the documentation this property set the SearchView
expanded like you want.
Take a look at SearchView.setIconifiedByDefault(boolean iconified)