Top "Searchview" questions

is an Android GUI widget that provides a user interface for the user to enter a search query and submit a request to a search provider

how to handle back button of Search View in android

SearchView searchView = (SearchView) MenuItemCompat.getActionView(menu.findItem(Menus.SEARCH)); searchView.setQueryHint(this.getString(R.string.search)); editSearch = (EditText) searchView.findViewById(…

android searchview
Android appcompat toolbar stretches when searchview gets focus

I'm updating an app to use the new Toolbar instead of the regular ActionBar. In my app the user must …

android searchview android-toolbar
Set SearchView clear button color

I am creating a searchview in the toolbar using onCreateOptionsMenu, but can't get the clear X button to initially be …

android android-support-library searchview
android - collapse searchview after submit

I am using searchview in my application ( without action bar). How can i collapse searchview after query text submit ? I …

android collapse searchview
How to remove space on the left side of Android searchview (which is not part of actionbar)?

I am using a searchview in android app (searchview is not a part of action bar). I want to remove …

android layout padding searchview gravity
menu.findItem returns null

I can't find the solution please help The implements: public class VentasActivity extends ActionBarActivity implements NavigationDrawerFragment.NavigationDrawerCallbacks, android.support.v7.…

android android-layout searchview
How to detect if SearchView is expanded?

I have the menu items like: <item android:id="@+id/action_search" android:title="search" app:actionViewClass="android.support.…

android android-actionbar android-appcompat searchview
Custom SearchView whole clickable in android

I have a SearchView widget in my app, and I want to ask some questions about making it custom. First …

android android-styles searchview android-search
searchManager.getSearchableInfo(getComponentName()) returns null

I've followed this Android guide in order to add a search bar to an activity. The setup looks like this: …

android android-actionbar android-menu searchable searchview
Android: getSearchableInfo(getComponentName()) returning null?

I'm trying to get suggestions for SearchView. I've implemented a custom content provider for it. I've also referred to this …

android android-searchmanager search-suggestion searchview