float distanceInfluenceForSnapDuration(float f) {
        f -= 0.5f; // center the values about 0.
        f *= 0.3f * Math.PI / 2.0f;
        return (float) Math.sin(f);
    }
Set a drawable that will be used to fill the margin between pages.

@param resId Resource ID of a drawable to display between pages
dkplayer-sample/src/main/java/xyz/doikki/dkplayer/widget/VerticalViewPager.java