How to Create a new Activity in Android || Create a new Activity in Android - Android Tutorial World

Latest

Welcome to Android Tutorial World Blog, Here you can find all type of post or tutorial related to andorid app development in details.

Thursday, September 12, 2019

How to Create a new Activity in Android || Create a new Activity in Android

HOW TO CREATE A NEW ACTIVITY

How to Create a new Activity in Android || Create a new Activity in Android

If you want to create multiple activities on your app then follow the step for creating a new activity.

Step 1. Open your project.

Step 2. Right, Click on the app.

How to Create a new Activity in Android || Create a new Activity in Android


Step 3. After click on app , click on new option.



Step 4. Now go down you will see Activity option.

How to Create a new Activity in Android || Create a new Activity in Android


Step 5. Click on Activity option and select Empty Activity ( It's blank activity ).



Step 6. Now Provide your activity name and click on finish button ( it's default activity_main2.xml and Main2Activity.java ).


Its take 1-2 minutes to build new activity.


Now you will see 2 Activity in your project.



Enjoy !

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.