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.