Create New Activity

Create New Activity

To create a new activity in Android Studio, right-click on the layout folder, select New > Activity, and choose the type of activity you want to create. Steps to Create a New Activity

To create a new activity in Android Studio

To create a new activity in Android Studio, right-click on the layout folder, select New > Activity, and choose the type of activity you want to create.

Steps to Create a New Activity

  1. 1. Open Android Studio: Launch your Android Studio project where you want to add a new activity.

  2. 2. Navigate to the Layout Folder: In the Project view, expand the app folder, then res, and finally layout. Right-click on the layout folder.