Make 2 line description
This commit is contained in:
parent
e66a4047b0
commit
494d57f6f3
1 changed files with 4 additions and 0 deletions
|
@ -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$
|
||||
|
|
Loading…
Reference in a new issue