greve greve - 1 month ago 18
Android Question

Horizontal scrolling text in 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?

Answer

I've figured it out by myself.

android:ellipsize="marquee"
android:scrollHorizontally="true"
android:focusable="true"
android:focusableInTouchMode="true"
Comments