开发者

Open Certain Keyboard Android

I've noticed that some apps when you click on something like edittext has a car开发者_如何转开发riage return while others have a next button in place of a carriage return. I think the carriage return in the default so I'm wondering how you change it to a next button.


If you have more edittext fields on a layout and want to replace the carriage return with a next button you can change the IME options in the layout xml:

<EditText android:imeOptions="actionNext" ....></EditText>

This will change the focus to the next edittext field.

Read more about it here: http://developer.android.com/resources/articles/on-screen-inputs.html


Try to set single line property to EditText

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜