This is the expected action. I don't think it's possible to get the
done key, and I don't think it should be. How would you create a new
line in the text field without an enter key?

On Mar 8, 4:03 pm, jb <[email protected]> wrote:
> Hi,
>
> When I programmatically set a EditText to the following, the soft
> keyboard has "Done" in the lower right:
>
> int settings = EditorInfo.TYPE_CLASS_TEXT;
> et.setInputType(settings);
> et.setImeOptions(EditorInfo.IME_ACTION_DONE);
>
> When I add TYPE_TEXT_FLAG_MULTI_LINE, the "Done" button is gone, and
> replaced with an Enter key symbol.
>
> int settings = EditorInfo.TYPE_CLASS_TEXT |
> EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE;
> et.setInputType(settings);
> et.setImeOptions(EditorInfo.IME_ACTION_DONE);
>
> Is this the expected action with a MULTI_LINE flag? How can I get the
> Done button to display with MULTI-LINE
>
> TIA,
>
> jb

-- 
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

Reply via email to