Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Blank Activity

Tags:

android

I'm using Android Studio 2.1 and there is no Blank Activity option. I've seen people asking about this, and the general advice was "make one yourself". The thing is that I know nothing about Android development so I'm following this tutorial http://developer.android.com/training/basics/firstapp/creating-project.html that should take me through the basic steps (at least it seems that it will do that). So I'm trying to keep things in line with what they do there. So should I go with Empty Activity or Basic Activity? I tried them both and from what I undestand there are little differences between them, but Empty Activity sounds more like a clean startup activity than Basic. I don't know. What should I do?

like image 816
icebp Avatar asked Dec 12 '25 08:12

icebp


1 Answers

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 .xml files, the main_activity.xml that contain FloatingActionButton and a ToolBar and it will include the second .xml where you will put your Buttons and one .java file .
If you are new at android developing start with Empty Activity it's more simple to understand

like image 104
Oussema Aroua Avatar answered Dec 14 '25 20:12

Oussema Aroua