Merge pull request #10377 from osmandapp/Icons-plan-route

Icons plan route
This commit is contained in:
Vitaliy 2020-12-10 10:31:51 +02:00 committed by GitHub
commit 22163b9418
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -84,7 +84,7 @@ public class OptionsBottomSheetDialogFragment extends MenuBottomSheetDialogFragm
if (addNewSegmentAllowed) { if (addNewSegmentAllowed) {
BaseBottomSheetItem addNewSegment = new BottomSheetItemWithDescription.Builder() 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)) .setTitle(getString(R.string.plan_route_add_new_segment))
.setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp) .setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp)
.setOnClickListener(new View.OnClickListener() { .setOnClickListener(new View.OnClickListener() {

View file

@ -163,7 +163,7 @@ public class SelectedPointBottomSheetDialogFragment extends MenuBottomSheetDialo
// new segment // new segment
BaseBottomSheetItem addNewSegment = new BottomSheetItemWithDescription.Builder() 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)) .setTitle(getString(R.string.plan_route_add_new_segment))
.setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp) .setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp)
.setOnClickListener(new View.OnClickListener() { .setOnClickListener(new View.OnClickListener() {
@ -183,7 +183,7 @@ public class SelectedPointBottomSheetDialogFragment extends MenuBottomSheetDialo
// join // join
BaseBottomSheetItem joinSegments = new BottomSheetItemWithDescription.Builder() 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)) .setTitle(getString(R.string.plan_route_join_segments))
.setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp) .setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp)
.setOnClickListener(new View.OnClickListener() { .setOnClickListener(new View.OnClickListener() {
@ -203,7 +203,7 @@ public class SelectedPointBottomSheetDialogFragment extends MenuBottomSheetDialo
// split // split
BaseBottomSheetItem splitAfter = new BottomSheetItemWithDescription.Builder() BaseBottomSheetItem splitAfter = new BottomSheetItemWithDescription.Builder()
//.setIcon(getContentIcon(R.drawable.ic_action_trim_right)) .setIcon(getContentIcon(R.drawable.ic_action_split_after))
.setTitle(getString(R.string.plan_route_split_after)) .setTitle(getString(R.string.plan_route_split_after))
.setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp) .setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp)
.setOnClickListener(new View.OnClickListener() { .setOnClickListener(new View.OnClickListener() {
@ -221,7 +221,7 @@ public class SelectedPointBottomSheetDialogFragment extends MenuBottomSheetDialo
items.add(splitAfter); items.add(splitAfter);
BaseBottomSheetItem splitBefore = new BottomSheetItemWithDescription.Builder() BaseBottomSheetItem splitBefore = new BottomSheetItemWithDescription.Builder()
//.setIcon(getContentIcon(R.drawable.ic_action_trim_right)) .setIcon(getContentIcon(R.drawable.ic_action_split_after))
.setTitle(getString(R.string.plan_route_split_before)) .setTitle(getString(R.string.plan_route_split_before))
.setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp) .setLayoutId(R.layout.bottom_sheet_item_with_descr_pad_32dp)
.setOnClickListener(new View.OnClickListener() { .setOnClickListener(new View.OnClickListener() {