title: Image button onclick change image
body: <p>I'm new to Android studio. I don't know much about Android Studio and Java but I'm trying to learn it.</p>
  
  <p>My question is:
  Is there any way to change image of image button and picture at the same time when the image button is clicked like it's in the picture i have attached?</p>
  
  <p>Thank you so much!
  (<a href="https://i.stack.imgur.com/ogxDs.png" rel="nofollow noreferrer">https://i.stack.imgur.com/ogxDs.png</a>)</p>
  
  <p>(<a href="https://i.stack.imgur.com/WQCl6.png" rel="nofollow noreferrer">https://i.stack.imgur.com/WQCl6.png</a>)</p>