Tuesday, 27 October 2015

android scroll view, when you have an edittext displaying on the bottom of your page.

If you have a edittext displaying on the bottom of your page and you have another button below the edittext, when user foucsing on the edittext, they can't see the button below and thinks above. If your edittext is multiline, users can only see the first line which is ugly.

Of cause with Android, users can click "back" button to remove the keyboard.

And developers can also use "inputType=text" to give a "done" button in the keyboard. But you will lost multiline ability.

A batter solution is use a scroll view :

However, scroll view is not perfect, especially when your page have a background image.



No comments:

Post a comment