android how to disable button code example Example: disable button in android studio myButton.setEnabled(false);