Hello all,
I have a screen with a number of widgets. One of widgets is EditText.
I need this edit box to be single line and want to set a hint for it.
When I write
editText.setHint("blah-blah-blah");
I see hint, but edit box allows multi line input.
When I write
editText.setSingleLine();
I get single line box, but no hint displayed.
When I write
editText.setSingleLine();
editText.setHint("blah-blah-blah");
I get single line edit box, but no hint is displayed.
Is it bug? Or known issue? Any workaround (e.g. write own
transformation method or smth else)?
Thank you in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---