Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android studio change image on button click

ImageButton btn = (ImageButton)findViewById(R.id.imageButton1);       
 btn.setImageResource(R.drawable.actions_record);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #studio #change #image #button #click
ADD COMMENT
Topic
Name
2+6 =