android - Two columns of autowrapped text -
i need lay out several (for example, two) labels (textviews) columns. texts can longer altogether 1 screen line , may not contain line breaks, need formatted (wrapped) fit screen width.
i can arrange labels columns if shorter altogether screen line. can wrap text fit screen if there’s 1 column. if texts longer , there more 1 column, cannot achieve want, because first column fills whole screen width.
i tried via xml-markup. tried lot of markups using linearlayout, tablelayout , relativelayout. didn’t work. maybe, didn’t use them properly.
i can imagine ways using code manually calculate views’ widths, haven’t tried. solution welcome, using markup preffered.
Comments
Post a Comment