+ 1
PLEASE TELL ME CODING IN ANDROID STUDIO OF MAIN ACTIVITY.JAVA FOR BUTTON ACTIVITY
Android development
3 odpowiedzi
+ 2
create a button in xml file then add the code for event handling in the main activity. in Java or kotlin.
+ 1
IS THIS SIMPLE CODING OF JAVA?
+ 1
here's an example of a button that displays a Toast when clicked.
copy it to android studio.
java code to MainActivity
xml to xml file
don't run it here it is not going to work
https://code.sololearn.com/clZ354FNEW9D/?ref=app