commit | 9a81736176f507489f262344b6e3d55bbe53be7c | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Fri May 01 10:57:14 2009 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri May 01 10:57:14 2009 -0700 |
tree | 1b12569fc3d58eabac132452f06011dd46d3d530 | |
parent | 15d98b23ca83e7cd25ee14945e55c2701e75994f [diff] |
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.