Tangram-iOS
Tangram-iOS copied to clipboard
Fix issues for fix-layout, sticky-layout, floating-layout and width calculation
Fix issues:
- support define width as -1; as it is equal to the width of the screen
- views with fix-layout, sticky layout or floating layout should stay sticky on the screen when scrolling3
Before Fixing:
Fix Layout
When scrolling, the view in red keep shaking and won't be sticky on the screen.
Sticky layout
The view with sticky layout keeps jumping
Floating layout
Floating view can stay where it should be steadily
After fixing:
Views with these 3 layouts stay stickily on the screen when scrolling