diff --git a/android/src/com/mapswithme/maps/widget/placepage/PlacePageButtons.java b/android/src/com/mapswithme/maps/widget/placepage/PlacePageButtons.java index ed7690afea..10b641eab2 100644 --- a/android/src/com/mapswithme/maps/widget/placepage/PlacePageButtons.java +++ b/android/src/com/mapswithme/maps/widget/placepage/PlacePageButtons.java @@ -171,8 +171,13 @@ public final class PlacePageButtons }, ButtonType.BACK), - BOOKMARK( - R.string.bookmark, + BOOKMARK_SAVE( + R.string.save, + new ImageResources(R.drawable.ic_bookmarks_on), + ButtonType.BOOKMARK), + + BOOKMARK_DELETE( + R.string.delete, new ImageResources(R.drawable.ic_bookmarks_off), ButtonType.BOOKMARK), diff --git a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java index 15009831ac..6f9946cc81 100644 --- a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java +++ b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java @@ -1000,7 +1000,8 @@ public class PlacePageView extends NestedScrollViewClickFixed if (needToShowRoutingButtons && !hasNumber) buttons.add(PlacePageButtons.Item.ROUTE_FROM); - buttons.add(PlacePageButtons.Item.BOOKMARK); + buttons.add(mapObject.getMapObjectType() == MapObject.BOOKMARK ? PlacePageButtons.Item.BOOKMARK_DELETE + : PlacePageButtons.Item.BOOKMARK_SAVE); if (needToShowRoutingButtons) {