In this tutorial we will study about the whole interface of
android studio. We will start with project view.
Click on Android here you will get different views.
Generally Android view or Project view is used many developers. Here, I will
tell you about Android view. You can check all other views on yourself.
Here, apps and gradle scripts are the two folders. We won’t
require gradle script in the start. So I will tell about it may be after few
more tutorials. Expand the folder app.
In the figure shown below, I have expanded all the folders
but we don’t need to expand all at the time while preparing apps.
First file is AndroidManifest.xml here all created
activities are defined.
Next part is java files. Here we do programming stuff in
java in only main activity. ApplicationTest file is created automatically.
Later is res i.e. resource.
First part is drawable. In drawable folder we store all
images which are the part of our app.
In activitymain.xml we do xml programming for layout of app.
Further is menu_main.xml this one is for the menu file. This
is used for settings and similar purpose. The option for this is available in
the upper right part of our layout.
In minmap we store the logo for our application.
Value is the folder in which we store different constants.
Here a string is not the variable but wherever it is mentioned is placed by its
value defined in these files.
This is the first part of design
Second part is about xml file.
No comments:
Post a Comment