In some android app, button will be enabled only when user input enough characters in EditText, for example user account register app. There are two methods to archive this. Use android.text.TextWatcher or listen android.view.KeyEvent event. This example will tell you how to implement this.