Add the ability to specify the onClick handler with XML. The new...
Add the ability to specify the onClick handler with XML. The new android:onClick attribute defines the name of the method in the Activity to invoke when the button is clicked. The method has to be public and get one View parameter.
Loading
Please register or sign in to comment