android - linear layout are not getting divided equally when the text width inside them are changing -
i have linear layout (horizontal) inside there 3 linear layouts, each of them have textview inside them.
now wanted divide these linear layouts equally. added weight them 1. works perfect.
but when text width inside them varying no more of equal weight :(
say linear layout removed text, or wrote smaller text or varying length text loosing equal distribution. do make layouts uniformly distributed.
and 1 more thing know text width increases max allocated width these layout (these given dynamically may doing width = 1), how move text next line.
make sure set width 0dip each item inside linearlayout.
Comments
Post a Comment