From 061a1b688ab0700e41ef975100e2661980bc47f2 Mon Sep 17 00:00:00 2001 From: androiddevkkotlin Date: Wed, 9 Dec 2020 17:01:24 +0200 Subject: [PATCH] Plan Route : Add new / Join segments --- .../measurementtool/OptionsBottomSheetDialogFragment.java | 2 +- .../SelectedPointBottomSheetDialogFragment.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/measurementtool/OptionsBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/measurementtool/OptionsBottomSheetDialogFragment.java index f286a814b3..35397f269e 100644 --- a/OsmAnd/src/net/osmand/plus/measurementtool/OptionsBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/measurementtool/OptionsBottomSheetDialogFragment.java @@ -84,7 +84,7 @@ public class OptionsBottomSheetDialogFragment extends MenuBottomSheetDialogFragm if (addNewSegmentAllowed) { BaseBottomSheetItem addNewSegment = new BottomSheetItemWithDescription.Builder() - //.setIcon(getContentIcon(R.drawable.ic_action_trim_right)) + .setIcon(getContentIcon(R.drawable.ic_action_new_segment)) .setTitle(getString(R.string.plan_route_add_new_segment)) .setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp) .setOnClickListener(new View.OnClickListener() { diff --git a/OsmAnd/src/net/osmand/plus/measurementtool/SelectedPointBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/measurementtool/SelectedPointBottomSheetDialogFragment.java index 99dba59e1d..37ff588c92 100644 --- a/OsmAnd/src/net/osmand/plus/measurementtool/SelectedPointBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/measurementtool/SelectedPointBottomSheetDialogFragment.java @@ -163,7 +163,7 @@ public class SelectedPointBottomSheetDialogFragment extends MenuBottomSheetDialo // new segment BaseBottomSheetItem addNewSegment = new BottomSheetItemWithDescription.Builder() - //.setIcon(getContentIcon(R.drawable.ic_action_trim_right)) + .setIcon(getContentIcon(R.drawable.ic_action_new_segment)) .setTitle(getString(R.string.plan_route_add_new_segment)) .setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp) .setOnClickListener(new View.OnClickListener() { @@ -183,7 +183,7 @@ public class SelectedPointBottomSheetDialogFragment extends MenuBottomSheetDialo // join BaseBottomSheetItem joinSegments = new BottomSheetItemWithDescription.Builder() - //.setIcon(getContentIcon(R.drawable.ic_action_trim_right)) + .setIcon(getContentIcon(R.drawable.ic_action_join_segments)) .setTitle(getString(R.string.plan_route_join_segments)) .setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp) .setOnClickListener(new View.OnClickListener() {