You can use ImageButton.setEnabled(false), which should disable it and grey it out since we're using the Flow button style