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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -