title: How to enable the button when text is entered and disable in Android java?
body: <p>How to enable the button when text is entered and disable when the textfield is empty?
  OR 
  When the button is clicked check the textfield if empty alert else run the func();</p>
  
  <p>I just want to know which method can do the above? </p>