diff --git a/OsmAnd/res/layout/fragment_direction_indication_dialog.xml b/OsmAnd/res/layout/fragment_direction_indication_dialog.xml index c66311cb24..1e32cbe882 100644 --- a/OsmAnd/res/layout/fragment_direction_indication_dialog.xml +++ b/OsmAnd/res/layout/fragment_direction_indication_dialog.xml @@ -69,6 +69,7 @@ android:orientation="vertical"> diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/DirectionIndicationDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/DirectionIndicationDialogFragment.java index 9301309732..ce5e29c4a5 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/DirectionIndicationDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/DirectionIndicationDialogFragment.java @@ -255,6 +255,8 @@ public class DirectionIndicationDialogFragment extends BaseOsmAndDialogFragment } ((ImageView) mainView.findViewById(R.id.action_bar_image)) .setImageDrawable(new LayerDrawable(imgList.toArray(new Drawable[imgList.size()]))); + } else { + mainView.findViewById(R.id.action_bar_image_container).setVisibility(View.GONE); } }