I am using the Serach Widget in the action bar with the following menu.xml file.
<item
android:id="@+id/menu_search_widget"
android:actionViewClass="android.widget.SearchView"
android:icon="@android:drawable/ic_menu_search"
android:showAsAction="ifRoom"
android:title="Search"/>
<item
android:id="@+id/menu_help"
android:icon="@android:drawable/ic_menu_help"
android:orderInCategory="100"
android:showAsAction="never"
android:title="Help"/>
</menu>
When running in landscape mode, if the user select search then a full screen search widget is shown. How can I change it so the soft keyboard only fills the bottom half of the screen and the text keyed is shown directly within the search "textbox" on the actionbar?
To add a bit more info, I have added a few screenshots.
When text is entered in the search area the soft keyboard is presented, like this
What I am trying to get is something like this (from the Chrome Browser) i.e. where the keyboard only takes half of the screen and the text is entered directly in the search control.