Home » Android

Create a new Activity in Android Studio



In this article you will learn how to create a new activity in android studio with following steps?
Submitted by Manu Jemini, on January 04, 2018

Activities hold your app together. This is where all your business login is and it also take care of which layout to show to user. Creating an activity is very simple and it can be created in many ways.

First step is to open or create an android project in you android-studio.

Android activity 1

Right click on the app directory and choose new → activity

Android activity 2

You have variety of activities to choose from. According to you need choose one. I am choosing An Empty Activity.

Android activity 3

It make a window to pop up and according to the chosen activity ask for basic information like name etc.

Android activity 4

Fill the name and other information if you want to and press FINISH.

It will open the activity automatically and corresponding layout file.

Android activity 5

Now you are all set with a poject, Thank you.






Quick links:
C FAQ(s) C Advance programs C/C++ Tips & Tricks Puzzles JavaScript CSS Python Linux Commands PHP Android Articles More...

Was this page helpful? Please share with your friends...

Are you a blogger? Join our Blogging forum.




Comments and Discussions





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing » Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com (2015-2018), Some rights reserved.