deleted text lines limit for favourites description row

This commit is contained in:
Chumva 2018-03-17 17:08:12 +02:00
parent 962af1ccc1
commit e31467827f

View file

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