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

preview_player
Показать описание

(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.
Рекомендации по теме
Комментарии
Автор

It is crashing whence I hit the New Button. I did everything following this tutorial. Where could the problem be?

GicaEric
welcome to shbcf.ru