summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2016-10-28 11:20:20 -0700
committerMakoto Onuki <omakoto@google.com>2016-10-31 11:31:45 -0700
commit104f8053370f9e01ac2e8e23bc31d128e5fcc00b (patch)
tree2684b3be388d64926adab8409fe19a3c32e7330a /docs
parente97969b4d0c6eaeeb373d716238e47e49c80d992 (diff)
App Shortcut: Clarify which attributes must be resources
Test: javadoc only -- m -j32 offline-sdk-docs Bug 32495737 Change-Id: I4c3884172761b128d07f1c2948ab7ccc53951a7e
Diffstat (limited to 'docs')
-rw-r--r--docs/html/guide/topics/ui/settings.jd4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/html/guide/topics/ui/settings.jd b/docs/html/guide/topics/ui/settings.jd
index 619fd268aef9..b51e6d97ae0a 100644
--- a/docs/html/guide/topics/ui/settings.jd
+++ b/docs/html/guide/topics/ui/settings.jd
@@ -390,7 +390,9 @@ setComponent()} method.</dd>
<dd>The package part of the component name, as per the {@link
android.content.Intent#setComponent setComponent()} method.</dd>
</dl>
-
+<p class="note"><strong>Note: </strong>You must use string literals as the values for these
+intent attributes. You cannot use resource strings, such as <code>@string/foo</code>, to define the attributes.
+</p>
<h2 id="Activity">Creating a Preference Activity</h2>