I have 2 EditText01 and 02. My button will be disable once the activity is started. And when these two EditText box got text inside, the button have to be enabled back. However my button is always disable and can't enable back using, button.setEnabled(true);.
Can anyone help me with this? Thx... :)
summit.setEnabled(false);
buttonEnable();
public void buttonEnable(){
if (feedback.length()>0 && email.length()>0){
summit.setEnabled(true);
}else{
summit.setEnabled(false);
}
}