create New Activity in Android Studio to create XML file for design Ui and java file coding. Below are the steps to create new Activity in Android Studio
first, click on app > res > layout > Right Click on layout. After that Select New > Activity and choose your Activity as per requirement. Here we choose basic Activity as shown in figure below.

Enter the “Activity Name” and “Package name” in the Text box and Click on Finish button.
