commit | 5712b5fc3fec0dc376e84f660f2fe0d1102c0cbb | [log] [tgz] |
---|---|---|
author | Deepanshu Gupta <deepanshu@google.com> | Mon Jan 20 17:02:37 2014 -0800 |
committer | Deepanshu Gupta <deepanshu@google.com> | Fri May 02 11:46:41 2014 -0700 |
tree | ac1fd26adb0cd74bf07e6f969eaf90142e077019 | |
parent | 02cde9ceeb4c052ee273a5d809816dfd355ebb56 [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 9e5e993c7969ad60ff70cfdcf707247f38a705a1)