Commit Graph

24 Commits

Author SHA1 Message Date
Vasil Chimev
e6ea1c22a6 Merge branch 'ios-safe-area' of github.com:NativeScript/NativeScript into ios-safe-area 2018-09-21 16:43:13 +03:00
Martin Yankov
8df5fbd7a8 refactor safe area application code 2018-09-20 18:33:58 +03:00
Martin Yankov
017534c30d add listview support for safe area 2018-09-20 18:33:57 +03:00
Martin Yankov
0f7f2b969b add safe area support for scroll view 2018-09-20 18:33:57 +03:00
Martin Yankov
cddc0a682a fix safe area for ios 10 and less 2018-09-20 18:33:57 +03:00
Martin Yankov
f3e89371ec add right and bottom to insets 2018-09-20 18:32:42 +03:00
Martin Yankov
9b7fb990b3 ensure correct position values after safe area reposition 2018-09-20 18:32:42 +03:00
Martin Yankov
d4ec355466 feat(ios): enable safe area for stack and grid 2018-09-20 18:32:41 +03:00
Manol Donev
262568314b feat: add ability to pass touch event thru parent view (#6204)
* feat: enhance hit-testing support
* refactor(android): update passthroughParent logic as per reqs
* refactor: move isPassthroughParentEnabled to LayoutBase
* Update view-common.ts
* refactor: touchListener logic
* refactor: renames
* added ui test page
2018-09-18 18:59:40 +03:00
Martin Yankov
2ccfb36ca7 refactor safe area application code 2018-08-28 18:15:04 +03:00
Martin Yankov
77bba75564 add listview support for safe area 2018-08-28 18:14:12 +03:00
Martin Yankov
0571f4a97d add safe area support for scroll view 2018-08-28 18:10:19 +03:00
Martin Yankov
8a624e4cc7 fix safe area for ios 10 and less 2018-08-28 18:10:19 +03:00
Martin Yankov
9b7b060cd4 add right and bottom to insets 2018-08-28 18:10:19 +03:00
Martin Yankov
ec5fc4b07e ensure correct position values after safe area reposition 2018-08-28 18:10:19 +03:00
Martin Yankov
f056362d45 feat(ios): enable safe area for stack and grid 2018-08-28 18:10:19 +03:00
Hristo Hristov
a35e603d85 Fix to always get the same bounds no matter if we are shown modally or not (for iOS).
Remove code that moves actionBar when there is incoming call. We now depend on the autolayout to position us correctly.
_addView, _removeView won't request layout for iOS.
LayoutBase: addChild & remvoeChild will request layout.
ContentView: content change will request layout.
2017-12-15 13:06:34 +02:00
Hristo Hristov
0f14101238 recycling now happens only if nativeView and android properties are not accessed. (#4627)
recycleNativeView filed now accepts: "always" | "never" | "auto". Always will recycle the nativeView no matter if its nativeView or android proprties are accessed. Never will disable recycling. Auto will recycle it only if nativeView and android properties are not accessed.
2017-08-01 15:04:16 +03:00
Hristo Hristov
f2898f84d5 NativeView recycled for android 2017-03-28 18:08:59 +03:00
Panayot Cankov
2b28730011 Split get/set native to getDefault setNative 2017-03-22 16:37:52 +02:00
Panayot Cankov
3066dbd072 Clipping is required for iOS even with uniform borders, as long as the radius is > 0 2017-02-27 16:07:21 +02:00
Hristo Hristov
e97fd105e3 Fix missing exports 2016-12-14 13:59:50 +02:00
Hristo Hristov
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
Panayot Cankov
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00