How do I prevent a TextView, or any visual object, from wrapping to the screen and instead have them chopped off the sides? Is there some XML attribute or code to do this or
check out android:maxLines="1" and if you want to add ending ... add also android:ellipsize="end"
android:maxLines="1"
...
android:ellipsize="end"
android:singleLine="true" was deprecated in API Level 3.
android:singleLine="true"