I have a one line EditText, when I set a long hint, the hint wraps to two lines. Can I force the EditText to be always one line tall? android:lines="1"
didn't work.
views:
37answers:
1
A:
Have you tried android:ellipsize
yet? This can be set to truncate the line to end in "..." either at the start, the middle, the end, or you can set it to marquee (scroll across). Not sure offhand whether this applies to hints or not, but it should.
kcoppock
2010-10-18 13:25:35
Thanks, android:ellipsize="end" worked!
fhucho
2010-10-18 18:38:06