开发者

Expand smaller items in a TableRow view

I have a table in my android app with two columns: a "label" column and a "content" one.

It is made of a tableLayout view wit开发者_如何学Ch a bunch of TableRow items. Each one has 2 TextViews to insert the labels and contents. Everything looks fine while the contents items and the labels have the same Height, but as soon as the content becomes multi-line, it mess up the display as I use the textViews background to make it a bit nicer.

I'd like to know if there is a simple way to expand the height of the label textview to be the same as the content one.

Thanks, Antoine

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜