I thought that maximum width of a text View in android is display width of the device.I have scroll text that is extended from Linear Layout.By using animation class i can move the text, and its act like a automatic Scrolling text. My problem is the text length(String length 70) exceed the maximum width of the text view (1280 pixel). So the text 70 is show like this (...)
Asked
Active
Viewed 111 times
0
-
please put some code! – George Thomas Aug 12 '14 at 11:53
-
1Can you try to clarify what you want, and add the relevant parts of your layout xml-file? If I understand correctly you want the text to be multiline instead of singleline? – Rickard Aug 12 '14 at 11:54
1 Answers
0
To make a TextView Scrollable the setMovementMethod() has to be called. However, there will be no scroll bar when scrolling it. To add a scroll bar, the android:scrollbars attribute has to be set in the layout file like this:

Chan-Han-Dan
- 45
- 1
- 9