diff options
author | Scott Main <smain@google.com> | 2011-09-20 14:32:54 -0700 |
---|---|---|
committer | Scott Main <smain@google.com> | 2011-09-20 14:32:54 -0700 |
commit | 7a473642dd78360416386fe06e60002ae43405c7 (patch) | |
tree | ff7435cc62be6e5535b6438aaa096e3a9bfcefdd /docs/html/guide/topics/resources | |
parent | e0515aad3a51aa2eadce5c448f771d2372916939 (diff) | |
download | frameworks_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.jd | 2 |
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 --> |