summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/resources
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-07-27 11:58:01 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-27 11:58:01 -0700
commit20956baf92c821b631aecbd758a5c341e6990f46 (patch)
treee62fd10e72c4015153f34f13e7fc899b9ca95d98 /docs/html/guide/topics/resources
parent44ec74db191f88dc22143b55cacc262bc8fc3cd2 (diff)
parentff8ba6533e1ad27cc040851147d641d4daf18992 (diff)
downloadframeworks_base-20956baf92c821b631aecbd758a5c341e6990f46.zip
frameworks_base-20956baf92c821b631aecbd758a5c341e6990f46.tar.gz
frameworks_base-20956baf92c821b631aecbd758a5c341e6990f46.tar.bz2
Merge "cherrypick Change-Id: I90664a587b358bfebcd4b45d066726973c04fcb3 fix sdk build"
Diffstat (limited to 'docs/html/guide/topics/resources')
-rw-r--r--docs/html/guide/topics/resources/string-resource.jd9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/html/guide/topics/resources/string-resource.jd b/docs/html/guide/topics/resources/string-resource.jd
index c8a4d8f..621771a 100644
--- a/docs/html/guide/topics/resources/string-resource.jd
+++ b/docs/html/guide/topics/resources/string-resource.jd
@@ -364,11 +364,10 @@ getQuantityString}(R.plurals.numberOfSongsAvailable, count, count);
<p>When using the {@link android.content.res.Resources#getQuantityString(int,int,int)
getQuantityString()} method, you need to pass the {@code count} twice if your string includes
<a href="#FormattingAndStyling">string formatting</a> with a number. For example, for the string
-{@code %d songs found}, the first {@count} parameter selects the appropriate plural string and the
-second {@count} parameter is inserted into the {@code %d} placeholder. If your plural strings do not
-include string formatting, you don't need to pass the third parameter to {@link
-android.content.res.Resources#getQuantityString(int,int)
-getQuantityString}.</p>
+{@code %d songs found}, the first {@code count} parameter selects the appropriate plural string and
+the second {@code count} parameter is inserted into the {@code %d} placeholder. If your plural
+strings do not include string formatting, you don't need to pass the third parameter to {@link
+android.content.res.Resources#getQuantityString(int,int) getQuantityString}.</p>
</dd> <!-- end example -->
</dl>