In Android project, the Res directory has anim, drawable, Layout, menu, raw, values, and XML folders, respectively, to save?

Source: Internet
Author: User
The Res directory is primarily a resource file!
Layout layouts This is what you often see with the user interface of the XML file, is the arrangement of each view and nested, nothing to say the style and theme, style is mainly refers to the display style of the view;



Place the image file in the res/raw/directory, which avoids being automatically optimized.
Values are some constant XML files set by the program staff, which are easy to modify and use, generally have strings,colors and so on.

Assets folder is a native file that is not compiled and processed, that is, the files inside the folder will not be like XML, Java files are precompiled, can be stored in some pictures, Html,js, CSS and other files.

In Android project, the Res directory has anim, drawable, Layout, menu, raw, values, and XML folders, respectively, to save?

Related Article

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.