TextView跑马灯效果
2015-07-07 11:32
204 查看
<TextView
android:id="@+id/txt"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:text="显示内容"
android:textSize="20sp"/>
android:id="@+id/txt"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:text="显示内容"
android:textSize="20sp"/>
相关文章推荐
- 直接跳出软键盘
- 在RelativeLayout布局中拖拉图片
- 获得view在当前窗口的绝对位置
- android项目中values中几个文件的…
- 判断文件是否存在
- jni学习
- Android应用的自动升级、更新模块…
- dialog设置位置
- Java编程中“为了性能”需做的26件事…
- etymology-R
- 黑马程序员---IO其他流
- CSS:你未必知道的@规则
- [华为机试真题]70.分苹果
- 推送机制
- nyoj 12——喷水装置二——————【贪心-区间覆盖】
- tomcat编码问题--乱码
- C++ vtable layout
- 检测COM是否可用,删除COM
- AOJ 2164
- maven项目启动时报java.lang.ClassNotFoundException