summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/LayerBase.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@android.com> 2010-01-21 19:09:51 -0800
committer Romain Guy <romainguy@android.com> 2010-01-21 19:09:51 -0800
commit5b1b2417106f161e4bc66296888f4685f213eebd (patch)
tree7caf59c2f76444b4059340f30466f77bfe8ac8f7 /libs/surfaceflinger/LayerBase.cpp
parent051ab623342746b6e25676c740f6104989902de6 (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