ViewPager翻页的时候下面的小圆点跟着滑动。

上传者: liu13722785488 | 上传时间: 2021-08-30 23:35:58 | 文件大小: 1.38MB | 文件类型: RAR
此效果是实现viewpager翻页的时候底部会有几个小圆点,随着页码的改变小圆点的位置也改变。这个效果的实现方法有很多种,网上有很多好的开源项目,这里我是自己以前写的一个实现方法,整理一下分享一下,方便以后有需要的时候参考。觉得还是比较简单容易理解的,需要的亲们欢迎下载。

文件下载

资源详情

[{"title":"( 55 个子文件 1.38MB ) ViewPager翻页的时候下面的小圆点跟着滑动。","children":[{"title":"ViewPagerBottomPoint","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 675.46KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-8699c1add170a6183d145c1a0bf8f74e.jar <span style='color:#111;'> 227.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"viewpagerbottompoint","children":[{"title":"MainActivity.class <span style='color:#111;'> 845B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 548B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 518B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"ShowActivity.class <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"ShowActivity$1.class <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"ShowActivity$ViewPagerAdapter.class <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 473B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 43.36KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 906B </span>","children":null,"spread":false},{"title":"ViewPagerBottomPoint.apk <span style='color:#111;'> 276.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"dot_focused.xml <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"dot_normal.xml <span style='color:#111;'> 229B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_show.xml <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"viewpager_item1.xml <span style='color:#111;'> 550B </span>","children":null,"spread":false},{"title":"viewpager_item2.xml <span style='color:#111;'> 548B </span>","children":null,"spread":false},{"title":"viewpager_item3.xml <span style='color:#111;'> 550B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 666B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"viewpagerbottompoint","children":[{"title":"BuildConfig.java <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"viewpagerbottompoint","children":[{"title":"ShowActivity.java <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 577B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 856B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 906B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 606.89KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • qufl1986 :
    学习使用还可以。还不错,初学者宝典
    2018-04-09
  • tierong :
    挺好的!!!
    2018-01-19
  • lxp_p666 :
    这个真的很有用
    2017-10-14
  • to_ave22 :
    有参考价值
    2016-12-09
  • kid_loveting :
    不错的资源
    2016-11-03

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明