Listview word wrap issue

At the risk of oversharing, I wrote this comment:

  } else if (layoutType == Component.LISTVIEW_LAYOUT_TWO_TEXT_LINEAR) {
    // Unlike the other two text layouts, linear does not wrap
    layoutParams2.setMargins(50, 10, 0, 0);
    textViewSecond.setLayoutParams(layoutParams2);
    textViewSecond.setMaxLines(1);
    textViewSecond.setEllipsize(null);

Apparently it's working as designed.

I worked with this code, but I didn't write it. I don't remember what conversation there might have been around word wrap on this layout. There might be a good reason for it.

I think it would be better if it wrapped, so I'm playing with it.

keep up the good work :slight_smile:

1 Like

It appears that this layout does not wrap because it is difficult to display correctly. I'll continue to play with it, but it's not a quick fix.

1 Like