Android TextView 跑马灯效果

android:layout_width="fill_parent"android:layout_height="wrap_content"android:singleLine="true"android:focusable="true" android:ellipsize="marquee" android:marqueeRepeatLimit="marquee_forever" android:focusableInTouchMode="true" 

说明:这样设置只有当内容一行显示不完全时,才会滚动。

更多相关文章

  1. Android(安卓)text文字阴影设置
  2. android xml中设置自适应图片
  3. Android(安卓)layout属性大全
  4. android theme
  5. Android:EditText 多…
  6. 50个Android开发人员必备UI效果源码[转载]
  7. android按钮旋转简单实现
  8. android:Button添加图片
  9. android:使用fragment实现tab切换

随机推荐

  1. 详解Python拼接字符串的七种方式
  2. 链表,是谁动了我的奶酪
  3. Linux占用内存排查
  4. 一文多图带你看看如何用「对撞指针」思想
  5. 你真的知道Python的字符串怎么用吗?
  6. 学习Python,怎能不懂点PEP呢?
  7. 最新发布!webpack 4.0.0-alpha.0 特性
  8. 宏观视角看递归
  9. HTML 5.2中有些什么新变化?
  10. 从简单到复杂,一文带你搞懂滑动窗口在数组