Android TextView水平跑马灯
来源:互联网 发布:淘宝网精品推荐棉拖鞋 编辑:程序博客网 时间:2024/05/17 01:00
水平跑马灯
一 添加依赖
compile 'com.dalong:marqueeview:1.0.1'
二 布局
<com.dalong.marqueeview.MarqueeView android:id="@+id/runarun" app:textcolor="@color/black" app:textSize="24px" android:layout_gravity="center" android:paddingTop="10px" app:startPoint="end" app:isRepeat="true" app:direction="right" app:speed="40" android:layout_width="match_parent" android:layout_height="wrap_content" />
三 代码
TextView.setText();添加自己要写入的文字就ok了。
谢谢大家!
阅读全文
0 0
- Android TextView水平跑马灯
- 水平跑马灯TextView
- android textview 垂直滚动and水平跑马灯
- android TextView跑马灯
- Android TextView跑马灯
- Android TextView跑马灯
- Android TextView 跑马灯
- textview跑马灯和水平滚动条
- Android TextView跑马灯效果
- android的textView跑马灯
- Android TextView跑马灯效果
- Android TextView跑马灯效果
- Android TextView跑马灯效果
- [Android]TextView跑马灯效果
- android--TextView实现跑马灯
- android 自定义TextView跑马灯
- Android:TextView跑马灯详解
- Android textView 跑马灯效果
- HandlerThread源码分析
- c# 双缓冲 技术与例子
- FTPrep, 77 Combinations
- java重写equals(Object obj)与重写hashCode()之间的关系
- OSMMUI.msi ErrorCode: 1603(0x643)
- Android TextView水平跑马灯
- 170919 网络-ARP欺骗原理及实现
- [Leetcode] 11, 120, 132
- 一款手机看电脑上电影视频的win10应用
- 20170920学习笔记Selenium 2 第二章测试环境搭建
- 【一分钟了解UWP】微信UWP
- JS 获取链接(url)参数以及锚链接(anchor)结合富ajax的应用(ajax前进/后退的问题)
- 迅雷7.9 V7.9.26 破解版无限期高速通道加速,让你飞起来!
- 非Lumia 950/XL机型 强行开启continuum教程