1. android:clickable="false" xml 코드에는 버튼이 비활성화 되었을때의 배경색?을 넣어둔다. android:background 속성으로
  2. EditText에 addTextChangedLister() 추가 위 메소드로 EditText 안의 내용 변화를 감지할 수 있음. EditText 안의 내용 변화를 감지하는 방법은 총 3개가 있는데 EditText에 변화가 있기 전 EditText에 변화가 있는 중 EditText에 변화가 있고 난 후

나는 EditText에 들어간 값이 n자 이상일 때 버튼 활성화를 할 것이므로 '변화가 있고 난 후' 만 확인해주면 된다.

각 입력창에 대해 has값을 변경해주고, if has의 곱들이 1이라면 (모두 true면) 버튼 활성화 시키기 button.setClickable(true); button.setBackgroundColor(Color.parseColor("#afe3ff"));