From 3f09ecf0b6a33cc02e27152db0f1681aa4634182 Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 4 Feb 2015 18:19:18 +0200 Subject: [PATCH] Added method to customize search view for light theme --- OsmAnd/src/net/osmand/plus/activities/FavoritesTreeFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/activities/FavoritesTreeFragment.java b/OsmAnd/src/net/osmand/plus/activities/FavoritesTreeFragment.java index 441027873f..7ab58e4e69 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavoritesTreeFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavoritesTreeFragment.java @@ -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