I have a screen which displays 3 editText for email address, password and password confirmation. Pressing on the first editText brings up the soft keyboard which necessarily covers the other editTexts. Complete the email address entry and press next and a multiline entry box appears. Complete the entry and press next and a multiline entry box appears. complete the entry – now a done button is shown but pressing it doesnt do anything. I assume it should close the keyboard.
Questions:
Is there some way to indicate what the entry box is for when it appears?
How do I get the done button to work?
Is there a better way to capture email and password info?
You need to assign a OnClickListener to your button. This is usually done when you define your reference to the button. Here is a simple example:
where
MyClickListeneris defined as:If you want the button click to hide the soft-keyboard simply replace:
With: