Android TableLayout width issue-Collection of common programming errors
I’m using TableLayout to display data. Text of the TextViews of the right column will be set when activity calls onCreate().
Now, as you can see in the following image that my address text can be long and it should be wrapped. So I set android:layout_width="wrap_content"
. but it still take a width of screen size to wrap data. How can I overcome from this issue?
My xml: