views:

66

answers:

2

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?

A: 
android:ellipsize="marquee"
fedj
I've tried that, and it doesn't work... `<TextView android:id="@+id/TextView02" android:layout_width="wrap_content" android:text="TextView02" android:layout_below="@+id/TextView01" android:layout_height="wrap_content" android:ellipsize="marquee" android:singleLine="true" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="#fff"></TextView>`
greve
A: 

I've figured it out by myself.

android:elippsize="marquee"
android:scrollHorizontally="true"
android:focusable="true"
android:focusableInTouchMode="true"

greve
Ah, your TextView is in a ListView ! Btw, don't work with focusableInTouchMode until you fully understand it and mark the question as answered.
fedj
No, it's in a `RelativeLayout` that is used as a custom title... I can't mark it as answered until tomorrow because of my lack of reputation
greve