[TIMOB-4399] Android: Top precedence is not calculating the correct height value when bottom contradicts center value
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-05-29T18:39:24.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-14T10:55:08.000+0000 |
Updated | 2012-06-04T03:02:00.000+0000 |
Description
Steps To Reproduce:
1. Run test 1047 from http://wiki.appcelerator.org/display/tp/UI+Composite+Layout+Behavior+Test+Case
Actual Result:
Height value is incorrect
Expected Result:
Height value should be 40
Actual Result: View have center.y as 30 and view.size.height is 40 and shifted 10 units down Tested with Titanium SDK: 2.1.0.v20120602010244 Tested with Titanium Studio: 2.1.0.201206010843 Emulator: Android 2.2 Abdroid Runtime: v8