Introduction to the main files of Android
After you create a new Android project file, there will be a src file, the? src file is where we mainly write files. Java, where the main implementation of the logical code, such as the control of the event, in fact, this is the place to write activity
And also? is the res file under the layout file under the. xml file, this file is a layout file, the main implementation of the activity of the layout, such as the interface to arrange the Button,textview and other controls, set the format of the control Ah, layout and then use the above. java File Call (findviewbyi D () method), in fact, the above src file in the. java file can also write the format properties of these controls, but it is best to write the static formatting properties in the layout file, to be used dynamically written in the layout file
What else? Res folder below the values folder, the following Strings.xml file, mainly write some commonly used string string, can be called in the layout file.
The last important thing is the registration file? Androidmanifest.xml file, this is mainly to achieve the registration of activity
What's wrong with looking at criticism?
My Android Learning experience 1