Make 2 line description

This commit is contained in:
vshcherb 2013-10-19 00:21:43 +02:00
parent e66a4047b0
commit 494d57f6f3

View file

@ -165,6 +165,10 @@ public class ContextMenuLayer extends OsmandMapLayer {
description = view.getContext().getString(R.string.point_on_map,
latLon.getLatitude(), latLon.getLongitude());
}
if(description.indexOf('\n') == -1) {
// make 2 line description
description +="\n ";
}
textView.setText(description);
} else {
textView.setText(""); //$NON-NLS-1$