commit | 5b1b2417106f161e4bc66296888f4685f213eebd | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@android.com> | Thu Jan 21 19:09:51 2010 -0800 |
committer | Romain Guy <romainguy@android.com> | Thu Jan 21 19:09:51 2010 -0800 |
tree | 7caf59c2f76444b4059340f30466f77bfe8ac8f7 | |
parent | 051ab623342746b6e25676c740f6104989902de6 [diff] |
Add a new attribute to LinearLayout: useLargestChild. Bug #2379138 This new attribute is to be used when the LinearLayout is wrap_content but you want all the children inside to have the same dimension. Set useLargestChild to true and give all the children a width/height of 0 and a weight of 1.0.