How to disable button in android?
<p>I have a login page,having 2 textfields username,password and button "login" button.
when the username or password not entered alert is poping up, 
when i suddenly clicks on this login button 2 alerts are poping up, 
since more than click is taken.
I need to disable the button and enable during next click. What should i do?</p>
