Merge pull request #5134 from osmandapp/FavouritesDescriptionRowFix

deleted text lines limit for favourites description row
This commit is contained in:
Alexander Sytnyk 2018-03-17 17:17:27 +02:00 committed by GitHub
commit 0263c70cdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,6 @@ public class FavouritePointMenuBuilder extends MenuBuilder {
}
llText.addView(textView);
LinearLayout.LayoutParams llTextViewParams = new LinearLayout.LayoutParams(0, ViewGroup.LayoutParams.WRAP_CONTENT);
llTextViewParams.weight = 1f;
llTextViewParams.setMargins(0, 0, dpToPx(10f), 0);
@ -175,7 +174,7 @@ public class FavouritePointMenuBuilder extends MenuBuilder {
private void buildDescription(View view) {
String desc = fav.getDescription();
if (!Algorithms.isEmpty(desc)) {
buildDescriptionRow(view, desc, 0, 5, true);
buildDescriptionRow(view, desc, 0, 0, true);
}
}