[TIMOB-8980] Android: Horizontal layout should provide consistent behavior when wrapping
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-06-18T15:12:18.000+0000 |
Affected Version/s | Release 2.0.1 |
Fix Version/s | n/a |
Components | Android |
Labels | core, parity |
Reporter | Arthur Evans |
Assignee | Allen Yeung |
Created | 2012-05-03T15:27:20.000+0000 |
Updated | 2017-03-21T23:02:14.000+0000 |
Description
On iOS, Android, and Mobile Web, horizontal layout wraps its children into rows if it has more children than it can fit in the allotted width. There ends the similarity.
On iOS (and soon Mobile Web), the rows are positioned against the top of the view, and the 'top', 'bottom' values are interpreted _relative to the row's top and bottom_.
On Android, the top and bottom values are interpreted relative to the _view's top and bottom_, meaning that you can get children out of order, on top of each other, etc. Higgeldy-piggeldy.
I contend that this serves no rational purpose and should be changed.
Duplicate of TIMOB-9575.
Closing ticket as duplicate with reference to the above comments.