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