commit | a2b34c96f1ef24d96854d1e23426dec7774510e8 | [log] [tgz] |
---|---|---|
author | Deepanshu Gupta <deepanshu@google.com> | Mon Jan 20 17:02:37 2014 -0800 |
committer | Deepanshu Gupta <deepanshu@google.com> | Tue May 06 14:02:45 2014 -0700 |
tree | a08c442846dd49a566f8393fbef617bd9df56470 | |
parent | e183855c1eb7baf750c67bb20e70fb887eba7af6 [diff] |
Optimize layout rendering in layoutlib [DO NOT MERGE] The height of a layout should be zero if it is assigned a layout_weight. This way, the layout is measured only once and prevents spurious errors. Bug: https://code.google.com/p/android/issues/detail?id=58398 Change-Id: If49a7480e5eb82cb86780e00f2f5b65ee053fc2a (cherry-picked from 5712b5fc3fec0dc376e84f660f2fe0d1102c0cbb)