XML layout attributes
Android: ellipsize:Set how to display the control when the text is too long. You can set the following values: "Start" -- ellipsis () at the beginning, "end" -- ellipsis () at the end, and "Middle" -- ellipsis () in the middle;
Marquee-- Display as a running horse lamp (horizontal movement of the animation)
Android: marqueerepeatlimitWhen ellipsize specifies marquee, it sets the number of repeated scrolling times. When it is set to marquee_forever, it indicates unlimited times.
Android: focusableintouchmode: Whether to obtain the focus in touch mode.
Android: focusableWhether the control can obtain the focus
Example:
Android: Id = "@ + ID/TV"
Android: autolink = "all"
Android: layout_width = "fill_parent"
Android: layout_height = "wrap_content"
Android: singleline = "true" be sure to set this attribute
Android: textsize = "20sp"
Android: textcolor = "#00ff00"
Android: focusable = "true"
Android: ellipsize = "marquee"
Android: marqueerepeatlimit = "marquee_forever"
Android: focusableintouchmode = "true"
Android: TEXT = "People's Republic of China vvvvvvv"
/>