wanted to leave a ImageButton is disabled (not clickable), but have used android: enabled = "false" but does not work
Does anyone know how to disable an ImageButton?
wanted to leave a ImageButton is disabled (not clickable), but have used android: enabled = "false" but does not work
Does anyone know how to disable an ImageButton?
You can use the android:clickable
attribute on the XML, or the setClickable(boolean)
method from your code.