I am using the following xml for a view:-

<TableLayout....>
<TableRow...>
<TextView.../>
<CheckBox.../>
</TableRow>
</TableLayout>

For this view, I got the following output from layoutopt tool
...This TableRow layout or its TableLayout parent is useless

I am not sure if I can remove TableRow or TableLayout. How can I solve
this? I don't want the TextView to be covered by Checkbox irrespective
of how much text is there in the TextView which is why I used the
TableLayout.

Also I had to use TableLayout in some places when I wanted two
TextViews on the same line to not overlap. Is there another solution
to prevent overlapping of views?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to