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