Android's file Structure

Source: Internet
Author: User
<span id="Label3"><p>First look at the entire project directory, each directory has a specific role, the following:</p> <ul> <li>SRC directory, where the source code files are Stored.</li> <li>Gen directory, the R.java file generated automatically by the ADT Plugin.</li> <li>Assets directory, storing the resource file Directory. Files in this directory do not generate a resource ID in r.java, are not compiled into binary, must be accessed as a file using the relative path started by/assets, and can be accessed using Assetmanager in conjunction with other Classes.</li> <li>Res directory, storing the resource file directory, each of which will generate an ID (variable) in the r.java;</li> </ul><p>Res/drawable-xxxx is the directory where pictures are stored;</p><p>Res/layout is the directory where the layout file (xml File) is placed, and each activity corresponds to an XML file;</p><p>Res/values is the directory where the stored value of the file (xml) is placed;</p><p>Res/values/strings.xml Store key value pairs, generally used in the Program's multi-language version of the switch (multiple files, keys, the value of different);</p><p>Res/values/dimens.xml size;</p><p>Res/values/styles.xml style</p> <ul> <li>Androidmanifest.xml is the entire application configuration file that stores some package names, version numbers, program icons, program tags, and so On.</li> <li>Project.Properties is automatically generated by the ADT plugin and cannot be modified (the modification will be deleted).</li> </ul><p>Android's file Structure</p></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.