I have two text fields and a Button. I want to disable the Button unless both EditText-Fields are not empty. I tried many solutions here at stackoverflow, but they don\'t wo
Your problem is here:
//set listeners editText1.addTextChangedListener(textWatcher); editText1.addTextChangedListener(textWatcher);
You are not setting the textWatcher to editText2, so you are always checking the condition if you write inside editText1