Sunday 3 January 2016

Android New Project File Structure

Android New Project File Structure: In this tutorial we will discuss about the file structure of the new android project in Android Studio. See the image below.

Android New Project File Structure

Now see the image and the file structure that is  first manifests folder that contain AndroidManifest.xml below the manifest java folder that contains the java classes then below that the res folder that contains the subfolders drawable, layout, menu and values contains the colors.xml, dimens.xml, string.xml and styles.xml.

Folder Descriptions

AndroidManifest.xml is the file that is the starting point of the android application. manifest.xml file contains the application name, start icon, xml files and permissions from android ox.
MainActivity.java is the java file that contains the java classes and the login in android.
Drawable is the folder that contains the images that we have to add in our application project. 
Layout is the folder where our xml files are stored it is also important to tell you that every java class have it's xml file that contains the graphical interface.
Menu is the folder where our menu of the application is stored in xml file.menu is the top action bar.
Colors.xml is the xml file that contains the colors name or hexadecimal.
dimens.xml is the xml file that contains the width and height of the layouts.
String.xml is the xml file that conatins the strings that can be used by there references.
Styles.xml is the xml file that contains the styles on specific item and others properties.

You must be familiar with these files because we will develop our application and then you should be aware about that. See you in next Lesson.

0 comments:

Post a Comment

Item Reviewed: Android New Project File Structure Rating: 5 Reviewed By: admin