Gets/sets ripple effect enabled for view. You should set UI.View#rippleColor rippleColor to see the effect.
= false]
UI.View
3.2.1
Gets/sets ripple effect color for view.
UI.View
3.2.1
Gets/Sets the elevation of the view. For the views that has StateListAnimator natively like Button, will lost its own StateListAnimation when elevation value changed. For details : https://developer.android.com/training/material/shadows-clipping.html
UI.FlexLayout
1.1.12
Gets/sets the depth location of the view relative to its elevation. To put view over button, you have to change zIndex value after Android Lollipop. On android, default elevation value of button is bigger than other view. This property affects after Android Lollipop. No-op before api level 21.
UI.FlexLayout
2.0.8
Readonly
yogaGets/sets over-scroll mode for this view.
= UI.Android.OverScrollMode.ALWAYS]
3.0.2
Sets/gets top-left corner radius of a view.
= 0]
5.1.1
Sets/gets top-right corner radius of a view.
= 0]
5.1.1
Sets/gets top-start corner radius of a view.
= -1]
5.1.1
Sets/gets top-end corner radius of a view.
= -1]
5.1.1
Sets/gets bottom-left corner radius of a view.
= 0]
5.1.1
Sets/gets bottom-right corner radius of a view.
= 0]
5.1.1
Sets/gets bottom-start corner radius of a view.
= -1]
5.1.1
Sets/gets bottom-end corner radius of a view.
= -1]
5.1.1
Allows you to watch events as they are dispatched to your children, and take ownership of the current gesture at any point.
onInterceptTouchEvent
Return true to steal motion events from the children
UI.FlexLayout
0.1
import FlexLayout from '@smartface/native/ui/flexlayout';
const flexLayout = new FlexLayout();
flex.on(Flex.Events.InterceptTouchEvent, () => {
console.info('onInterceptTouchEvent');
});
Called when a child does not want this parent and its ancestors to intercept touch events . This parent should pass this call onto its parents. This parent must obey this request for the duration of the touch
requestDisallowInterceptTouchEvent
4.0.3
Generated using TypeDoc
Gets/sets foreground of the view for ripple effect. This property should be set before rippleColor. This property only supported for api level 23 and above.
Property
= false]
Android
Member
UI.View
Since
4.0.2