User Activity

how to use the 'button is clicked' to show or hide the image ? who can provide the sample program to be reference .   
hi, every teacher! i need click the big green circle button, then the small circle button will trun green ,each click and small button turn more one , how to realize this function?