1page.title=Resource Types
2parent.title=Application Resources
3parent.link=index.html
4@jd:body
5
6<div id="qv-wrapper">
7<div id="qv">
8  <h2>See also</h2>
9  <ol>
10    <li><a href="providing-resources.html">Providing Resources</a></li>
11    <li><a href="accessing-resources.html">Accessing Resources</a></li>
12  </ol>
13</div>
14</div>
15
16<p>Each of the documents in this section describe the usage, format and syntax for a certain type
17of application resource that you can provide in your resources directory ({@code res/}).</p>
18
19<p>Here's a brief summary of each resource type:</p>
20
21<dl>
22  <dt><a href="{@docRoot}guide/topics/resources/animation-resource.html">Animation Resources</a></dt>
23    <dd>Define pre-determined animations.<br/>
24Tween animations are saved in {@code res/anim/} and accessed from the {@code R.anim} class.<br/>
25Frame animations are saved in {@code res/drawable/} and accessed from the {@code R.drawable} class.</dd>
26  <dt><a href="{@docRoot}guide/topics/resources/color-list-resource.html">Color State List Resource</a></dt>
27    <dd>Define a color resources that changes based on the View state.<br/>
28Saved in {@code res/color/} and accessed from the {@code R.color} class.</dd>
29  <dt><a href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a></dt>
30    <dd>Define various graphics with bitmaps or XML.<br/>
31Saved in {@code res/drawable/} and accessed from the {@code R.drawable} class.</dd>
32  <dt><a href="{@docRoot}guide/topics/resources/layout-resource.html">Layout Resource</a></dt>
33    <dd>Define the layout for your application UI.<br/>
34Saved in {@code res/layout/} and accessed from the {@code R.layout} class.</dd>
35  <dt><a href="{@docRoot}guide/topics/resources/menu-resource.html">Menu Resource</a></dt>
36    <dd>Define the contents of your application menus.<br/>
37Saved in {@code res/menu/} and accessed from the {@code R.menu} class.</dd>
38  <dt><a href="{@docRoot}guide/topics/resources/string-resource.html">String Resources</a></dt>
39    <dd>Define strings, string arrays, and plurals (and include string formatting and styling).<br/>
40Saved in {@code res/values/} and accessed from the {@code R.string}, {@code R.array},
41and {@code R.plurals} classes.</dd>
42  <dt><a href="{@docRoot}guide/topics/resources/style-resource.html">Style Resource</a></dt>
43    <dd>Define the look and format for UI elements.<br/>
44Saved in {@code res/values/} and accessed from the {@code R.style} class.</dd>
45  <dt><a href="{@docRoot}guide/topics/resources/more-resources.html">More Resource Types</a></dt>
46    <dd>Define values such as booleans, integers, dimensions, colors, and other arrays.<br/>
47Saved in {@code res/values/} but each accessed from unique {@code R} sub-classes (such as {@code
48R.bool}, {@code R.integer}, {@code R.dimen}, etc.).</dd>
49</dl>
50
51
52
53
54
55
56
57
58
59
60