/ ViewPager

A different beautiful ViewPager, with quick swipe controls

A different beautiful ViewPager, with quick swipe controls

HollyViewPager

A different beautiful ViewPager, with quick swipe controls.

Live Demo

https://play.google.com/store/apps/details?id=com.github.florent37.beautifulviewpager.sample

HollyViewPager

Usage

Add a HollyViewPager in your layout

<com.github.florent37.hollyviewpager.HollyViewPager
        android:id="@+id/hollyViewPager"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:hvp_headerHeight="150dp" />
HollyViewPager hollyViewPager = findViewById(R.id.hollyViewPager);
hollyViewPager.setAdapter(...);
hollyViewPager.setConfigurator(new HollyViewPagerConfigurator() {
           @Override
           public float getHeightPercentForPage(int page) {
               return PERCENT;
           }
       });

GitHub