commit | 9e5e993c7969ad60ff70cfdcf707247f38a705a1 | [log] [tgz] |
---|---|---|
author | Deepanshu Gupta <deepanshu@google.com> | Mon Jan 20 17:02:37 2014 -0800 |
committer | Deepanshu Gupta <deepanshu@google.com> | Fri Mar 28 14:21:10 2014 -0700 |
tree | 1affda576d1128e09640f33de9d42ff935466e22 | |
parent | 4cf6286c3ccfe63bf73e6a1fb33e67d1becd16be [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 35d56c0d67537e56fafebd8edf790026644fe8de)