android make left textview to be shorten and right remain fully visible
问题 I need to display two single-line TextViews horizontally. The left TextView (let's name it 1) may have a longer text which may shortened and finished with "...". The right text view (2) has a short text and should never get shortened. I want the 1 to remain aligned to the left end of the parent. The 2 aligned to the right side of 1. There are now 2 conditions that I have to meet a) if the 1 has a short text then the 2 should get aligned to the right of 1 (none of the gets shortened). b) but