股票的机器人 [英] ticker in android
本文介绍了股票的机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:
在Android的 滚动字幕文本
Possible Duplicate:
marquee text in android
可以,我们新浪体育讯北京时间android系统
can we have ticker in android
推荐答案
我想这是一个后续<一个href="http://stackoverflow.com/questions/3179283/ticker-in-android">http://stackoverflow.com/questions/3179283/ticker-in-android
在你的XML布局文件,添加到您的的TextView
In your xml-layout file, add this to your TextView
android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
和在code:
TextView tv = (TextView) findViewById(R.id.tv);
tv.setSelected(true);
为什么这是必要的:的http:// code.google.com / P /安卓/问题/详细信息?ID = 5364
这篇关于股票的机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文