0
Usually in desktop/web applications, we have a field código
where is inserted the code of something and next another field that shows the description of this "something" after the search in the bank.
This operation of fetching the related item in the database usually occurs when the text field codigo
loses its focus after a tab for example. Often there is also a search button if the user does not know the code. So far so good.
My doubt is related to mobile devices, because using this approach I mentioned earlier, it gets really strange. Besides the user having to click on something else for the EditText
lose focus, it is not intuitive and it is clear to him that this is how it works, outside that the keyboard will be open and can cover the description field, etc.
I thought I’d open one Dialog
when the field codigo
receive the focus for the user to enter the number and give OK, but what if he doesn’t know the code? Or maybe a Dialog
with the list of items or other activity
, but if I have more than 1000 items complicates it. Someone has a better tip or idea?
Ex. that I nay would like to use:
Interesting question. Approximations that involve loss of focus work well on the web and desktop, while on mobile, as a user, I disapprove. What do you think of the treatment in the "Ok" of the system keyboard, as it is done in the search fields? An example is the Play Store search.
– vinibrsl
I understand, it’s a good idea, but as it is by code is still strange, in addition the user can choose to simply minimize the keyboard after writing the code. I believe that perhaps the best way is not to treat by code but by description, opening a list after inserting 1 character to limit the search in the bank... But I’m not sure.
– Zulian
Who negative could explain in what I can improve the question?
– Zulian