commit | 35d56c0d67537e56fafebd8edf790026644fe8de | [log] [tgz] |
---|---|---|
author | Deepanshu Gupta <deepanshu@google.com> | Mon Jan 20 17:02:37 2014 -0800 |
committer | Deepanshu Gupta <deepanshu@google.com> | Mon Jan 20 17:02:37 2014 -0800 |
tree | 1f5513a491be890aec3dd8db9683b955857c919a | |
parent | c174288d345d4a80b326b12ff4c10a6c99570997 [diff] |
Optimize layout rendering in layoutlib 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