Added method to customize search view for light theme
This commit is contained in:
parent
1bac28e8c2
commit
3f09ecf0b6
1 changed files with 1 additions and 0 deletions
|
@ -304,6 +304,7 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment {
|
|||
MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.search_poi_filter, R.drawable.ic_action_search_dark,
|
||||
R.drawable.ic_action_search_dark, MenuItemCompat.SHOW_AS_ACTION_ALWAYS | MenuItemCompat.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW);
|
||||
searchView = new SearchView(getActivity());
|
||||
FavoritesActivity.updateSearchView(getActivity(), searchView);
|
||||
MenuItemCompat.setActionView(mi, searchView);
|
||||
searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue