+ 1

PLEASE TELL ME CODING IN ANDROID STUDIO OF MAIN ACTIVITY.JAVA FOR BUTTON ACTIVITY

Android development

9th Jan 2020, 2:18 PM
Gulshan Aggarwal
Gulshan Aggarwal - avatar
3 Answers
+ 2
create a button in xml file then add the code for event handling in the main activity. in Java or kotlin.
9th Jan 2020, 3:12 PM
Bahha┣
Bahha┣ - avatar
+ 1
IS THIS SIMPLE CODING OF JAVA?
10th Jan 2020, 3:16 AM
Gulshan Aggarwal
Gulshan Aggarwal - avatar
+ 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
10th Jan 2020, 6:45 AM
Bahha┣
Bahha┣ - avatar