Search in sources :

Example 1 with SimpleFoldShading

use of com.marshalchen.common.uimodule.foldablelayout.shading.SimpleFoldShading in project UltimateAndroid by cymcsg.

the class FoldableListLayout method init.

private void init(Context context) {
    mGestureDetector = new GestureDetector(context, this);
    mAnimator = ObjectAnimator.ofFloat(this, "foldRotation", 0);
    mMinDistanceBeforeScroll = ViewConfiguration.get(context).getScaledPagingTouchSlop();
    mFoldShading = new SimpleFoldShading();
}
Also used : SimpleFoldShading(com.marshalchen.common.uimodule.foldablelayout.shading.SimpleFoldShading) GestureDetector(android.view.GestureDetector)

Aggregations

GestureDetector (android.view.GestureDetector)1 SimpleFoldShading (com.marshalchen.common.uimodule.foldablelayout.shading.SimpleFoldShading)1