glazy-viewpager

ViewPager template with cool animation.

glazy-viewpager

Dependencies

compile 'com.android.support:palette-v7:25.2.0'

Usage

Refer the implementation in the sample app.
    <com.kannan.glazy.pager.GlazyViewPager
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
    </com.kannan.glazy.pager.GlazyViewPager>

GlazyImageView

You can even use the GlazyImageView alone.

    <com.kannan.glazy.views.GlazyImageView
        android:id="@+id/glazy_image_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        glazy:cutType="wave"
        glazy:cutHeight="50dp"
        glazy:cutCount="3"
        glazy:autoTint="false"
        glazy:tintColor="#ff000000"
        glazy:tintAlpha="125"
        glazy:titleTextSize="25dp"
        glazy:subTitleTextSize="18dp"
        glazy:textMargin="25dp"
        glazy:lineSpacing="10dp"
    />

GitHub