commit | 2bd961ae38ebd0acb7d33b32144a3c8a0949c023 | [log] [tgz] |
---|---|---|
author | Fabrice Di Meglio <fdimeglio@google.com> | Tue Aug 27 19:46:43 2013 -0700 |
committer | Fabrice Di Meglio <fdimeglio@google.com> | Wed Sep 04 12:30:19 2013 -0700 |
tree | 8ee8f9d598fbedb10f16c9fda4f7a5f86f77d8b0 | |
parent | c2b582c0b63df855a7492db3fb00dd194bf86fe3 [diff] |
Fix bug #10514694 Specifying android:gravity="center_vertical|left" results in negative vertical positioning of child - related to "wrap_content" - self bounds should include childs horizontal / vertical margin too - so make height / width computation follow similar pattern as top / bottom computation Passing CTS tests: RelativeLayoutTest / RelativeLayout_LayoutParamsTest Change-Id: Id019c2536e89d2d8a4991aaabf6de60aae2e263b