I have an editText(hidden by default) and a button. I want to show the editText on click of the button and hide when the button again is pressed. Also the editText should hide if the editText box loses focus. How can this be done? Thank you for the help in advanced.