문제

How can I unwrap word in a row of sliding menu (jfeinstein10) ? When I designed the sliding menu on my tablet, it worked fine. However, the text got wrapped when I opened the program on my phone (Smaller screen size).

enter image description here

도움이 되었습니까?

해결책

Either you can make the menu wider so that it fits all the rows in 1 line each using setBehindWidth or setBehindOffset

or you could set the singleLine property on the TextViews in the list

in XML: android:singleLine

in code: setSingleLine(true)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top