Android实现滑屏图片左右滑动切换.rar

上传者: 39840387 | 上传时间: 2021-06-06 16:38:19 | 文件大小: 783KB | 文件类型: RAR
Android实现滑屏图片左右滑动切换,可以自动滑动,仿优酷Android客户端图片左右滑动,类似电脑上的焦点图和幻灯片切换效果。编程思路:设置填充ViewPager页面的适配器,设置一个监听器,当ViewPager中的页面改变时调用, 当Activity显示出来后,每两秒钟切换一次图片显示。

文件下载

资源详情

[{"title":"( 33 个子文件 783KB ) Android实现滑屏图片左右滑动切换.rar","children":[{"title":"srcfans.com","children":[{"title":"MyViewPager","children":[{"title":"bin","children":[{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 13.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"btn_back.png <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"a.jpg <span style='color:#111;'> 102.53KB </span>","children":null,"spread":false},{"title":"b.jpg <span style='color:#111;'> 86.68KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false},{"title":"c.jpg <span style='color:#111;'> 99.05KB </span>","children":null,"spread":false},{"title":"e.jpg <span style='color:#111;'> 127.08KB </span>","children":null,"spread":false},{"title":"d.jpg <span style='color:#111;'> 174.64KB </span>","children":null,"spread":false},{"title":"btn_back.png <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 14.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"btn_top_pressed.xml <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"title_bk.xml <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"dot_focused.xml <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"dot_normal.xml <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"btn_back_selector.xml <span style='color:#111;'> 463B </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 418B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"fengyan","children":[{"title":"viewpager","children":[{"title":"BuildConfig.java <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 208B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"fengyan","children":[{"title":"viewpager","children":[{"title":"MyViewPagerActivity.java <span style='color:#111;'> 5.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 801B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 136.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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