diff options
| author | 2010-01-21 19:09:51 -0800 | |
|---|---|---|
| committer | 2010-01-21 19:09:51 -0800 | |
| commit | 5b1b2417106f161e4bc66296888f4685f213eebd (patch) | |
| tree | 7caf59c2f76444b4059340f30466f77bfe8ac8f7 /libs/surfaceflinger/LayerBase.cpp | |
| 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.
Diffstat (limited to 'libs/surfaceflinger/LayerBase.cpp')
0 files changed, 0 insertions, 0 deletions