From 0d0ceeff7a08223746842f31b46f7913c41e6617 Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 5 Mar 2015 17:39:18 +0200 Subject: [PATCH] Updated icons in selected gpx track --- OsmAnd/src/net/osmand/plus/myplaces/TrackPointFragment.java | 2 +- .../src/net/osmand/plus/myplaces/TrackRoutePointFragment.java | 2 +- OsmAnd/src/net/osmand/plus/myplaces/TrackSegmentFragment.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/myplaces/TrackPointFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/TrackPointFragment.java index b0b910be73..77bb6fe221 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/TrackPointFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/TrackPointFragment.java @@ -47,7 +47,7 @@ public class TrackPointFragment extends SelectedGPXFragment { return; } - MenuItem item = menu.add(R.string.settings).setIcon(R.drawable.ic_overflow_menu_light).setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { + MenuItem item = menu.add(R.string.add_to_favourite).setIcon(R.drawable.ic_action_fav_dark).setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { @Override public boolean onMenuItemClick(MenuItem item) { saveAsFavorites(group); diff --git a/OsmAnd/src/net/osmand/plus/myplaces/TrackRoutePointFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/TrackRoutePointFragment.java index 5ad61259e6..b9988d8c3d 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/TrackRoutePointFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/TrackRoutePointFragment.java @@ -47,7 +47,7 @@ public class TrackRoutePointFragment extends SelectedGPXFragment { return; } - MenuItem item = menu.add(R.string.settings).setIcon(R.drawable.ic_overflow_menu_light).setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { + MenuItem item = menu.add(R.string.add_to_favourite).setIcon(R.drawable.ic_action_fav_dark).setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { @Override public boolean onMenuItemClick(MenuItem item) { saveAsFavorites(group); diff --git a/OsmAnd/src/net/osmand/plus/myplaces/TrackSegmentFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/TrackSegmentFragment.java index 182c872930..9f8fe6051a 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/TrackSegmentFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/TrackSegmentFragment.java @@ -68,7 +68,7 @@ public class TrackSegmentFragment extends SelectedGPXFragment { return; } - MenuItem item = menu.add(R.string.settings).setIcon(R.drawable.ic_overflow_menu_light).setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { + MenuItem item = menu.add(R.string.showed_on_map).setIcon(R.drawable.ic_show_on_map).setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { @Override public boolean onMenuItemClick(MenuItem item) { selectSplitDistance(group);