Reputation: 7031
I want to have a list of WebViews
inside a TableLayout
, but its not working.
I guess the problem is because the TableRow
always takes the height of the wrapped contents.
and the WebView
has a height of zero before it is loaded.
it is mentionned in the TableLayout documentation
The children of a TableLayout cannot specify the layout_width attribute. Width is always MATCH_PARENT. However, the layout_height attribute can be defined by a child; default value is WRAP_CONTENT. If the child is a TableRow, then the height is always WRAP_CONTENT.
Is there a workaround for this? Is there an application where it is done, just to know if such a thing is possible ?
Thank you
Upvotes: 0
Views: 439