I have an image button on my view which i need to change after user interaction. I dont find nothing like myImageButton.setDrawable Here is my xml for the button i
myImageButton.setDrawable
Use
setImageResource(R.drawable.btn_stop);