summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/resources
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-09-20 14:32:54 -0700
committerScott Main <smain@google.com>2011-09-20 14:32:54 -0700
commit7a473642dd78360416386fe06e60002ae43405c7 (patch)
treeff7435cc62be6e5535b6438aaa096e3a9bfcefdd /docs/html/guide/topics/resources
parente0515aad3a51aa2eadce5c448f771d2372916939 (diff)
downloadframeworks_base-7a473642dd78360416386fe06e60002ae43405c7.zip
frameworks_base-7a473642dd78360416386fe06e60002ae43405c7.tar.gz
frameworks_base-7a473642dd78360416386fe06e60002ae43405c7.tar.bz2
docs: fix snippet typo
Change-Id: I3b7ffd8147ca828f7749c1f79eafba78d3dce689
Diffstat (limited to 'docs/html/guide/topics/resources')
-rw-r--r--docs/html/guide/topics/resources/more-resources.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/topics/resources/more-resources.jd b/docs/html/guide/topics/resources/more-resources.jd
index 5f4d5c2..972eab9 100644
--- a/docs/html/guide/topics/resources/more-resources.jd
+++ b/docs/html/guide/topics/resources/more-resources.jd
@@ -698,7 +698,7 @@ Resources res = {@link android.content.Context#getResources()};
TypedArray icons = res.{@link android.content.res.Resources#obtainTypedArray(int) obtainTypedArray}(R.array.icons);
Drawable drawable = icons.{@link android.content.res.TypedArray#getDrawable(int) getDrawable}(0);
-TypedArray colors = res.{@link android.content.res.Resources#obtainTypedArray(int) obtainTypedArray}(R.array.icons);
+TypedArray colors = res.{@link android.content.res.Resources#obtainTypedArray(int) obtainTypedArray}(R.array.colors);
int color = colors.{@link android.content.res.TypedArray#getColor(int,int) getColor}(0,0);
</pre>
</dd> <!-- end example -->