android:ellipsize="end"
this will shorten the text if it is too long. or you can do
android:ellipsize="marquee"
and it will scroll like the names of the applications on the Android market. sometimes you need to quit
android:singleLine="true"
there for it to work, I would also recommend
android:marqueeRepeatLimit="marquee_forever"
so that it continues to move if the user missed it for the first time.
as shown in Layout Tricks , TextView ellipsize
source share