Some spambots are messing around this blog (and I suppose that everyone’s else), so I’ve set comment moderation, just in case spam comes around.
Common comments are welcome!!!
Have fun!
Some spambots are messing around this blog (and I suppose that everyone’s else), so I’ve set comment moderation, just in case spam comes around.
Common comments are welcome!!!
Have fun!
If you have a custom EditText, that uses a different input method from soft keyboard, you should add this line to prevent him from showing.
[code=»java»»»»»]m_edittext.setInputType(InputType.TYPE_NULL);[/code]
Really easy, huh?
Have fun!
When having EditText as form fields, you might want to navigate from one to another by using the soft keyboard. This is easy if you use the following property in the layout xml:
For inputs that have a «following» element :
[code=»xml»»»»»»»»»»»]android:imeOptions=»actionNext»[/code]
For the final item:
[code=»xml»»»»»»»»»»»]android:imeOptions=»actionDone»[/code]
There are several options to control the Enter/Next… key in soft keyboard, here are a list of possible values (what do they display and if there is a special action)
some image examples (in Spanish locale) for action buttons (for «navigation» you should need next and done):
Ok, so here we are… Another Android-programming Blog.
As I work currently programming Android apps, I’ll comment here the main problems and solutions found while doing it.
I might comment also interesting facts or events in my life 😉
have fun!