[TIMOB-4401] Android: CenterYPrecedence is not returning correct height value when top is not set
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-05-29T18:41:09.000+0000 |
Affected Version/s | Release 1.7.0 |
Fix Version/s | Release 2.1.0 |
Components | Android |
Labels | core |
Reporter | Natalie Huynh |
Assignee | Neeraj Gupta |
Created | 2011-06-14T11:07:02.000+0000 |
Updated | 2012-06-04T02:44:48.000+0000 |
Description
Steps To Reproduce:
1. Run test 1048 from http://wiki.appcelerator.org/display/tp/UI+Composite+Layout+Behavior+Test+Case
Actual Result:
height value is not calculated correctly
Expected Result:
height value should be 100 since view height is 200, center is 100 and bottom is 50
Actual Result: view.size.height value is 100 and the red is height centered to the yellow Tested with Titanium SDK: 2.1.0.v20120602010244 Tested with Titanium Studio: 2.1.0.201206010843 Emulator - Android 2.2 Android Runtime - v8