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 :
http://stackoverflow.com/questions/21673467/edittext-at-the-bottom-of-screen-android

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



http://blog.csdn.net/leilu2008/article/details/6450405


http://stackoverflow.com/questions/24262414/android-keyboard-hides-edittext

No comments:

Post a comment