有一个TextView,想让它的文字水平自动滚动,这个怎么做呢,请问?
网上找了很多,不过都不能动,就左右移动显示的哪种效果
网上找了很多,不过都不能动,就左右移动显示的哪种效果
解决方案 »
- 【80分】关于2.1以下流量统计的几点疑问
- 求指导Android4.0源码编译系统的环境搭建
- 该怎样为listview的item里面的view对象设置事件响应,
- 有对光线传感器或cmos摄像头熟悉的吗?
- 用Socket传实时语音时,在播放时断断续续,该怎么解决
- android datepickerdialog 怎样在第一次弹出对话框的时候不能选择比今天小的日期!
- 做毕业设计选题时的疑惑
- Unbuntu下升级JDK后显示版本号不同
- Android 手写涂鸦 画笔 效果
- 请问获取id,并传进id,实现调用接口的问题
- win7系统上怎么用eclipse连接真机测试
- eclipse调试出现Source not found
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/arttile_text"
android:textColor="#000000"
android:textSize="16dip"
android:textStyle="bold"
android:scrollHorizontally="true"
android:marqueeRepeatLimit="marquee_forever"
android:ellipsize="marquee"
android:singleLine="true"
android:focusable="true"
android:focusableInTouchMode="true"
/>
自己项目中的一段
android:id="@+id/txtmsg"
android:layout_width="100px"
android:layout_height="wrap_content"
android:textColor="@android:color/white"
android:ellipsize="marquee"
android:focusable="true"
android:marqueeRepeatLimit="marquee_forever"
android:focusableInTouchMode="true"
android:scrollHorizontally="true"
android:text="文字跑马灯效果文字跑马灯效果文字跑马灯效果文字跑马灯效果"
>
</TextView>