Android Tutorial #15: Detect button click event by declaring click handler in layout.xml

Опубликовано: 17 Июнь 2026
на канале: clientuser.net
2,668
18

Source Code:   / clientuser_net  

(1/2) There are a couple of ways to handle a button click event, in this tutorial I cover using the activity layout xml file to declare which method will handle a button click action.
We use a button click to open a new Activity. Our Droid101 application is getting more advanced now.

In the next video I will programmatically declare a click handler.

Wow, tutorial 15 and we are only now seeing buttons, bells and whistles. Thanks for sticking with the course guys.