Android Studio Modifier l'image sur le bouton cliquer

ImageButton btn = (ImageButton)findViewById(R.id.imageButton1);       
 btn.setImageResource(R.drawable.actions_record);
Manga301