@SuppressLint("NewApi")
    private void applyParallaxForCurrentSlideOffset() {
        if (mParallaxOffset > 0) {
            int mainViewOffset = getCurrentParallaxOffset();
            ViewCompat.setTranslationY(mMainView, mainViewOffset);
        }
    }
Update the parallax based on the current slide offset.
app/src/main/java/home/smart/fly/animations/widget/slidepanel/SlidingUpPanelLayout.java