Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TIMOB-25173] Android: Modified layouts to behave more like iOS.
- Changed Android to resolve Size/Fill layout conflicts like iOS and Windows. * Note: Only an issue if parent uses Ti.UI.SIZE and child uses Ti.UI.FILL. * Android used to shrink the parent to fit the min size allowed by the child. * Now increases the size of the child to fill the parent's parent, like iOS/Windows. - Fixed horizontal layouts where views using FILL width would wrongly wrapped to next row. * Only an issue if another view is already in the row. (Resulting FILL width was too big.) - Fixed layouts to prioritize size defined by view's top/left/bottom/right/center properties over FILL and SIZE. * Only applies if at least 2 coordinate properties were provided. * Now matches iOS' behavior. - Constrained child view width to parent's max width like iOS when using wrapping horizontal views. - This commit also resolves the following layout issues: * TIMOB-12996 * TIMOB-15097 * TIMOB-17628 * TIMOB-17984 * TIMOB-19536 * TIMOB-19598 * TIMOB-19814
- Loading branch information
1 parent
b3fcbfb
commit 4d867c8
Showing
1 changed file
with
79 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters