Fix osm bug context menu header
This commit is contained in:
parent
e688551601
commit
ddd707eb3e
2 changed files with 3 additions and 1 deletions
|
@ -74,6 +74,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/search_address_building"
|
android:text="@string/search_address_building"
|
||||||
|
android:maxLines="8"
|
||||||
|
android:ellipsize="end"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
android:textSize="@dimen/default_list_text_size_large"/>
|
android:textSize="@dimen/default_list_text_size_large"/>
|
||||||
|
|
||||||
|
|
|
@ -595,7 +595,7 @@ public class OsmBugsLayer extends OsmandMapLayer implements IContextMenuProvider
|
||||||
description = comments.get(0);
|
description = comments.get(0);
|
||||||
typeName = sb.toString();
|
typeName = sb.toString();
|
||||||
}
|
}
|
||||||
if (description != null) {
|
if (description != null && description.length() < 100) {
|
||||||
if (comments.size() > 0) {
|
if (comments.size() > 0) {
|
||||||
comments.remove(0);
|
comments.remove(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue