Stop objects from wrapping in Android

Posted by jay on Stack Overflow See other posts from Stack Overflow or by jay
Published on 2010-03-24T13:01:41Z Indexed on 2010/03/24 13:03 UTC
Read the original article Hit count: 334

Filed under:

How do I prevent a TextView, or any visual object, from wrapping to the screen and instead being chopped off the sides? Is there some XML attribute or code to do this or is it impossible to have anything overflow from the screen?

For example, you have this:

text being wrapped

But you really want this:

text being cropped

Any ideas?

© Stack Overflow or respective owner

Related posts about android