What is the purpose of each component of an Android project? [closed]

0

I'm starting now in Android development, and I'm having doubts about the Android Studio directories, I need to understand what each one of them is for the project. I confess that I have never programmed in a language with so many directories (app, manifests, res, drawable, layout, values, minimap and etc), files (All XML) and classes (Class R for example). I need to know what each file, class and directory is for, and AndroidManifest.xml? These were just examples, if possible help me with all the components of a project, I'm sure this is the question of many.

    
asked by anonymous 17.04.2016 / 01:25

1 answer

3

app = The entire context of your application.

manifests = Your app's main guidelines (here you will make settings with a global character and the like).

res = Folder containing layout, drawable and more.

drawable = Normally you should put the images in there, each image inside your folder, which is defined by the size of the image (1 image must have several sizes to fit on multiple screens ).

layout = The body of your App,% config % of the screens are there.

XML = Usually has the folders, values , @Strings , @Colors and another one I do not remember .

@Dimens = It should contain all the texts that will be visible in your A.pp (where the translation applies).

Strings = The name itself already speaks everything, there you work the colors of everything.

Colors = Where you can set default dimensions and apply in several places (worth for other folders as well).

But this is not the best way to know a development environment, not to mention that you still have MUITA thing to look at.

    
17.04.2016 / 09:30