Open another Activity on Button Click

Example Code:


MainActivity.java:

Main2Activity.java:

activity_main2.xml:



activity_main.xml:


Powered by Blogger.