Android Studio Guide

How To Create New Activity in Android Studio

We create New Activity in Android Studio to create XML file for designing UI and java file coding. Below are the steps to create new Activity in Android Studio:


How To Create New Activity in Android Studio:

Step 1: Firstly, click on app > res > layout > Right Click on layout. After that Select New > Activity and choose your Activity as per requirement. Here we choose Blank Activity as shown in figure below.

Create Activity in android studio
Step 2: After that Customize the Activity in Android Studio. Enter the “Activity Name” and “Package name” in the Text box and Click on Finish button.

Customize the Activity
Step 3: After that your new Activity in Layout will be created. Your XML Code is in Text and your Design Output is in Design.

Blank Activity Output

  • Is this article helps you understand ?
  • Yes   No

One thought on “How To Create New Activity in Android Studio”

Let’s Connect

Recent Posts

Categories

FREE eBook reveals different ways Android Developer make money Android Dev Dollaring eBook
One More Step...

Enter your email and I'll send you a FREE copy of Android Dev Dollaring eBook:
Send Me This eBook  >> 
We hate SPAM and promise to keep your email address safe.

Download Your Free Copy

3 Reason To Download this free eBook:​
1. Different approach developer use to earn through App business
2. Learn how to generate passive income
3. Keep yourself updated with latest Android tutorial, freebies etc.
SEND ME THE LINK >>
One More Step...

Enter your email and I'll send you a FREE copy of Android Dev Dollaring eBook:
Send Me This eBook  >> 
We hate SPAM and promise to keep your email address safe.