android change image while button clicked

www.la‮c.iruttu‬om
android change image while button clicked
ImageButton imgbtn = (ImageButton)findViewById(R.id.imageButton1); 

imgbtn.setImageResource(R.drawable.actions_record);
Created Time:2017-08-31 13:16:28  Author:lautturi