mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-05 05:37:53 +08:00
add nestedScrollingEnabled prop support
This commit is contained in:
parent
7ca20f22cf
commit
18acce3218
@ -213,6 +213,7 @@ View::View(Context*ctx,const AttributeSet&attrs){
|
|||||||
}),0)<<SCROLL_INDICATORS_TO_PFLAGS3_LSHIFT)&SCROLL_INDICATORS_PFLAG3_MASK;
|
}),0)<<SCROLL_INDICATORS_TO_PFLAGS3_LSHIFT)&SCROLL_INDICATORS_PFLAG3_MASK;
|
||||||
if(scrollIndicators) mPrivateFlags3 |= scrollIndicators;
|
if(scrollIndicators) mPrivateFlags3 |= scrollIndicators;
|
||||||
if(attrs.getBoolean("isScrollContainer",false)) setScrollContainer(true);
|
if(attrs.getBoolean("isScrollContainer",false)) setScrollContainer(true);
|
||||||
|
setNestedScrollingEnabled(attrs.getBoolean("nestedScrollingEnabled",false));
|
||||||
|
|
||||||
if(viewFlagMasks)
|
if(viewFlagMasks)
|
||||||
setFlags(viewFlagValues, viewFlagMasks);
|
setFlags(viewFlagValues, viewFlagMasks);
|
||||||
|
Loading…
Reference in New Issue
Block a user