Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between blank activity and basic activity in Android studio? [closed]

I was learning android development recently, when I read some tutorials that said New a Empty Activity, but I can not find the Empty Activity. I only find the Blank Activity and Basic Activity. I want to know:

  1. Which one is the same as the Empty Activity?

  2. What's the difference between blank activity and basic activity in Android studio?

like image 367
EricXuan Avatar asked May 18 '16 09:05

EricXuan


People also ask

What is blank activity in android Studio?

Empty Activity is the same as Blank Activity. It will gives you . xml file that will be your layout where you put your Buttons or EditTexts and . java file where you will code your activity. But Basic Activity will gives you two .

What is empty application in android?

What is empty process in android. It is a process with no running activities, services, or broadcast receivers (and where nothing presently is connected to one of the app's content providers, if any, though this is a fairly obscure case).

What is difference between activity and layout in android?

Layout is where you organize the views in your page. But without activity, they have no meaning. Because in activity, you have to get these views and use them programmaticaly. All together, you load views from layout to activity and in activies you implement your whole program.

What is the use of activity tag?

Activity Tags allow Control Center users to group activities together under one or more custom defined labels. Activity tags offer a flexible solution for grouping and organizing activities. Clients have control over how specific their tags are, and can apply multiple tags to an activity.


1 Answers

Empty activity : It has just the white screen and nothing else.

Basic activity : It has some ready made contents (like action bar ) etc. you can see there will be activity_content.xml gets generated automatically.

like image 107
Vivek_Neel Avatar answered Sep 21 '22 02:09

Vivek_Neel