diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/ShowDirectionBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/ShowDirectionBottomSheetDialogFragment.java index 9a6407944b..f057cfc319 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/ShowDirectionBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/ShowDirectionBottomSheetDialogFragment.java @@ -61,6 +61,7 @@ public class ShowDirectionBottomSheetDialogFragment extends BottomSheetDialogFra return false; } }); + topBarImage.setOnClickListener(topBarOnClickListener); mainView.findViewById(R.id.widget_text).setOnTouchListener(new View.OnTouchListener() { @Override @@ -68,6 +69,7 @@ public class ShowDirectionBottomSheetDialogFragment extends BottomSheetDialogFra return false; } }); + widgetImage.setOnClickListener(widgetOnClickListener); } if (nightMode) { @@ -143,6 +145,21 @@ public class ShowDirectionBottomSheetDialogFragment extends BottomSheetDialogFra } } + private View.OnClickListener topBarOnClickListener = new View.OnClickListener() { + + @Override + public void onClick(View view) { + + } + }; + + private View.OnClickListener widgetOnClickListener = new View.OnClickListener() { + @Override + public void onClick(View view) { + + } + }; + interface ShowDirectionFragmentListener { }