Is there a way to put a single line of static text into a TextView and
allow the user to scroll over the part that is not initially visible?
I have tried scrollHorizontally, but I get text that
is truncated. This is the layout (that doesn't scroll).
<TextView
android:id="@+id/wanttoscrollt"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:ellipsize="end"
android:scrollHorizontally="true"
android:text="Blah blah andlongwordandmore"
></TextView>
I tried setting <requestFocus/> in the layout and also tried calling
requestFocus() in onCreate().
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en