I am using an Android dashboard with a drop down list and searchWidget.
I would like to hide the dropdown menu when the user expands the search and displays a dropdown list when the user closes the search.
Here is a photo to explain better 
and here is the code that I use to create a drop down menu
ActionBar bar = this.getActionBar(); bar.setTitle(this.getString(R.string.app_name)); bar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); ... ListDittaListener listener = new ListDittaListener(this); bar.setListNavigationCallbacks( seleziona_ditta, listener);
android android-layout
max4ever Mar 06 2018-12-12T00: 00Z
source share