There is nothing built in for that, sorry. onClick is the only such XML event attribute that I can think of.
On Wed, May 25, 2011 at 8:00 PM, Kevin <[email protected]> wrote: > When you have a button, you can use the XML attribute android:onClick > to set the listener for it in place of using setOnClickListener in > your code. Is there a similar way to replace a ListView's > setOnItemClickListener with an XML attribute? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.6 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

