I have a TableLayout in which I have one row holding two TextViews, the first one holds a String representation of a Date, the second one holds a title. My problem is the first one should always be 100dp wide, the seconde one should use the spaces that’s left. The first TextView works fine and it will go to a new line if the string cannot be displayed in one line. But the problem is the second TextView, it is always too wide (its width expands out of the screen), no matter how I change its size, and I can only see part of the text that’s inside it. Anyone knows how to fix this?
Share
just try this coz it solve my problem.