Android代码-一个Android文字轮播控件,实现了可垂直跑、可水平跑的跑马灯。

上传者: 39841856 | 上传时间: 2021-09-26 21:07:25 | 文件大小: 1.21MB | 文件类型: ZIP
Android文字轮播控件 现在的绝大数APP特别是类似淘宝京东等这些大型APP都有文字轮播界面,实现循环轮播多个广告词等功能;这种控件俗称“跑马灯”,而TextBannerView已经实现了可垂直跑、可水平跑的跑马灯了。 效果图 Download Apk Attributes属性(TextBannerView布局文件中调用) Attributes format describe setInterval integer 文字切换时间间隔,默认3000 setAnimDuration integer 动画持续时间,默认1500 setTextSize dimension 设置文字尺寸 setTextColor color 设置文字颜色,默认黑色 setSingleLine boolean 是否为显示单行 setGravity 文字显示位置,默认左边居中;可设置left、center、right setDirection 文字轮播方向,默认水平从右到左轮播:right_to_left;还可以设置left_to_right(从左到右轮播)、bot

文件下载

资源详情

[{"title":"( 54 个子文件 1.21MB ) Android代码-一个Android文字轮播控件,实现了可垂直跑、可水平跑的跑马灯。","children":[{"title":"TextBannerView-master","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 762B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"zsml","children":[{"title":"textbannerview","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 401B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"res","children":[{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 10.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"bg.jpg <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"attrs.xml <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 211B </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"zsml","children":[{"title":"textbannerview","children":[{"title":"MainActivity.java <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"StatusBarUtil.java <span style='color:#111;'> 12.19KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 666B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 910B </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 230B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"gradle.xml <span style='color:#111;'> 689B </span>","children":null,"spread":false},{"title":"runConfigurations.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 518B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 686B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"someImg","children":[{"title":"textbanner.gif <span style='color:#111;'> 1.11MB </span>","children":null,"spread":false}],"spread":true},{"title":"textbannerlibrary","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"res","children":[{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"attrs.xml <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"anim","children":[{"title":"anim_bottom_in.xml <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"anim_top_out.xml <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"anim_top_in.xml <span style='color:#111;'> 331B </span>","children":null,"spread":false},{"title":"anim_bottom_out.xml <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"anim_left_out.xml <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"anim_left_in.xml <span style='color:#111;'> 331B </span>","children":null,"spread":false},{"title":"anim_right_in.xml <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"anim_right_out.xml <span style='color:#111;'> 328B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"superluo","children":[{"title":"textbannerlibrary","children":[{"title":"TextBannerView.java <span style='color:#111;'> 11.97KB </span>","children":null,"spread":false},{"title":"ITextBannerItemClickListener.java <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"DisplayUtils.java <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 133B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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