Android中的水平滚动文本 [英] Horizontal scrolling text in Android
本文介绍了Android中的水平滚动文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经环顾了很长一段时间,但我无法直接回答我的问题.
I've been looking around for quite some time now, and I can't get a straight answer for my question.
很简单:当你选择一个应用程序时,我怎样才能得到一个漂亮的滚动文本,就像市场中的长应用程序名称一样?
It's quite simple: How can I get a nice scrolling text just like the long app names in the Market when you select an application?
推荐答案
我自己想出来的.
android:ellipsize="marquee"
android:scrollHorizontally="true"
android:focusable="true"
android:focusableInTouchMode="true"
这篇关于Android中的水平滚动文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文