See also
Each of the documents in this section describe the usage, format and syntax for a certain type of application resource that you can provide in your resources directory (res/).
Here's a brief summary of each resource type:
- Animation Resources
-
Define pre-determined animations.
Tween animations are saved inres/anim/and accessed from theR.animclass.
Frame animations are saved inres/drawable/and accessed from theR.drawableclass. - Color State List Resource
-
Define a color resources that changes based on the View state.
Saved inres/color/and accessed from theR.colorclass. - Drawable Resources
-
Define various graphics with bitmaps or XML.
Saved inres/drawable/and accessed from theR.drawableclass. - Layout Resource
-
Define the layout for your application UI.
Saved inres/layout/and accessed from theR.layoutclass. - Menu Resource
-
Define the contents of your application menus.
Saved inres/menu/and accessed from theR.menuclass. - String Resources
-
Define strings, string arrays, and plurals (and include string formatting and styling).
Saved inres/values/and accessed from theR.string,R.array, andR.pluralsclasses. - Style Resource
-
Define the look and format for UI elements.
Saved inres/values/and accessed from theR.styleclass. - More Resource Types
-
Define values such as booleans, integers, dimensions, colors, and other arrays.
Saved inres/values/but each accessed from uniqueRsub-classes (such asR.bool,R.integer,R.dimen, etc.).