You can for example use #setActivated() method instead. Disabling a view will ignore all events.
https://developer.android.com/reference/android/view/View.html#setActivated(boolean).
Then you can customize text and background styles with android:state_activate attribute if you need: