wyon / DropIndicator

A ViewPager indicator use Bezier curve

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DropIndicator

博文链接 http://mp.weixin.qq.com/s?__biz=MzA5MzI3NjE2MA==&mid=2650238885&idx=1&sn=8d3471194bb62f8545e2f06bbb207630&chksm=88639ecabf1417dcb409e286257140b1b5e74ef9975ab24db44354726b8b93a981ac9e81bf32&scene=0#rd

gif

##How to use? #####Step 1

compile 'com.github.ulez:dropindicator:0.0.2'

#####Step 2

    <comulez.github.droplibrary.DropIndicator
        android:background="@color/colorPrimary"
        android:id="@+id/circleIndicator"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:layout_alignParentBottom="true"
        app:circle_color="@android:color/darker_gray"
        app:click_color="#fafafa"
        app:color1="#FCC04D"
        app:color2="#00C3E2"
        app:color3="#FE626D"
        app:color4="#966ACF"
        app:duration="800"
        app:radius="14dp"
        app:scale="0.5">
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/msg" />
            ........
    </comulez.github.droplibrary.DropIndicator>

Lisence:

Lisenced under Apache 2.0 lisence

About

A ViewPager indicator use Bezier curve


Languages

Language:Java 100.0%