how to disabble a button in android studio code example Example: stop displaying button in android myButton.setEnabled(false);