summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKevin Hufnagle <khufnagle@google.com>2016-11-11 22:44:01 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-11-11 22:44:06 +0000
commit867d09fe181312f745523afe00ec0039b06cdb6d (patch)
tree45f404cb6668fd1e9cfa8ce3dd62594ac5a8c4a5 /docs
parent7cd6c3a084149131fca58894f3177c0717a15059 (diff)
parent104f8053370f9e01ac2e8e23bc31d128e5fcc00b (diff)
Merge "App Shortcut: Clarify which attributes must be resources" into nyc-mr1-dev
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>