Friday, August 1, 2014

Common Default Resources Folders


"Common Default Resources Folders
The following are the eight provided when you create a project in Eclipse:
layout: UIscreen layouts go in the /res/layout folder, which holds XML files containing UI layout definitions written in XML.
drawable-hdpi: high-resolution images in PNG format (which Google prefers) or the JPEG format (acceptable but not favored by Google) go into the /res/ drawable-hdpi (high resolution screen-drawable imagery, usually 800 by 480 pixels) folder.
drawable-ldpi: low-resolution images in PNG format (which Google prefers) or the JPEG format (acceptable but not favored by Google) go into the /res/drawable-ldpi (low resolution screen-drawable imagery, usually 320 by 240 pixels) folder.
drawable-mdpi: medium-resolution images in PNG format (which Google prefers) or the JPEG format (acceptable but not favored by Google) go into the /res/drawable-mdpi (medium resolution screen-drawable imagery, usually 480 by 320 pixels) folder.
drawable-xhdpi: extra-high-resolution images in PNG format (which Google prefers) or the JPEG format (acceptable but not favored by Google) go into the /res/drawable-xhdpi (high resolution screen-drawable imagery, usually 1,280 by 720 pixelsor HD) folder
values: XML files that define constant values are in the res/values folder.
values-v11: honeycomb theme XML files that define new UItheme values are in the res/values-v11 (referencing API Level 11 through 13, also known as Android 3.x or 3.0, 3.1, and 3.2) folder.
values-v14: Ice Cream Sandwich theme XML files that define new UItheme values are in the res/values-v14 (referencing API Level 14 through 16, also known as Android 4.x or 4.0, 4.0.3, and 4.1) folder.
menu: XML files defining menu layouts are in the res/menu folder."

No comments:

Post a Comment