how to disable and enable button in android studio h=java code example Example: stop displaying button in android myButton.setEnabled(false);