Android Question Layout file button click event

Stern0m1

Member
Licensed User
I'm loading a layout file to a panel in code that has a button.

How do I declare a click sub?

Thanks
 

hongbii

Active Member
Licensed User
Longtime User
If you draw the button in the designer,
then the button's click event should declare by using the designer.
In the designer, right click the button > Generate> Click
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…