commit | 4fabc021583cfd5cc551eda7d7b9809683a6ca9a | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Wed Jul 29 15:53:53 2015 -0400 |
committer | Alan Viverette <alanv@google.com> | Wed Jul 29 15:53:53 2015 -0400 |
tree | d31872342bb39669d852d8530ff794339ca62934 | |
parent | 308139425e697536304be55a5865aae7a290fb1d [diff] |
Always distribute excess space in LinearLayout measurement Previously, excess space was added to existing measured dimensions. This consistently resulted in incorrect allocation of excess space, since the delta already included the height of any measured children rather than just the excess space itself. This CL ensures that excess space is always distributed according to the layout weights. Bug: 22810327 Change-Id: I482a553c469169769cc40ab3d88b4a44023f3eb5