I've set a TextView as the display. I want to display the operation being performed in one line, for example:
9856243187 + 2457896123 - 214583
The problem is, when the input reaches the edge of the TextView - it jumps to the next line.
So, is there anyway to avoid this behavior and keep the input in one line, even if it goes out of the screen?
You should use android:maxLines="1" in your TextView tag. android:singleLine="true" is deprecated.
android:maxLines="1"
android:singleLine="true"
1.4m articles
1.4m replys
5 comments
56.9k users