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
ImageButton = (ImageButton)findViewById(R.id.stopButton); btn.setCompoundDrawablesWithIntrinsicBounds(R.drawable.btn_stop, 0, 0, 0);