抽空撸了一个带倒计时功能的viewpager播放indicator,地址:ViewPagerIndicator
Simple auto viewPagerIndicator

start
- xml
<com.linked.erfli.viewpagerindicator.GuideIndicator
android:id="@+id/indicator"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="50dp"
viewpager:stay_time="3" />
- java
indicator.setViewPager(viewPager);
indicator.startAnimation();
欢迎关注公众号wutongke,每天推送移动开发前沿技术文章:

推荐阅读:
网友评论