Specifications

51
Figure 7.13
Next, enter “onClick” in On Click in Properties in the same way.
It is the name of the method in the activity that is executed when the button is pressed. (It is created later.)
Figure 7.14