[TIMOB-7789] image size discrepency between iOS and Android
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-12T19:19:47.000+0000 |
Affected Version/s | Release 1.8.1 |
Fix Version/s | n/a |
Components | n/a |
Labels | parity |
Reporter | Carl Orthlieb |
Assignee | Eric Merriman |
Created | 2012-02-23T08:53:15.000+0000 |
Updated | 2017-06-12T19:19:47.000+0000 |
Description
1. The enclosed project prints out an image's dimensions at various stages: after creation, after adding to a window, after the window has been opened.
2. Run on iOS and Android and compare the output.
EXPECTED RESULT: the output is the same
ACTUAL RESULT: results are significantly different. The image on Android has no size until actually visible and it's visible size is different from the iOS size.
IMPACT: makes writing cross-platform code that lays out UI difficult.
Android
-------
I/TiAPI ( 311): IMAGE SIZE ON CREATION 0 x 0
I/TiAPI ( 311): IMAGE SIZE ON ADD TO PARENT 0 x 0
I/TiAPI ( 311): IMAGE SIZE ON OPEN 320 x 424
iOS
---
[INFO] IMAGE SIZE ON CREATION 260 x 214
[INFO] IMAGE SIZE ON ADD TO PARENT 260 x 214
[INFO] IMAGE SIZE ON OPEN 260 x 214
Attachments
Closing ticket due to the time passed, lack of information and lack of progress. Any problems, please file a new ticket.