summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2016-11-11 23:14:22 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-11-11 23:14:22 +0000
commit2a3fe7d97912e9e3fd98c9aa949a409cc928307b (patch)
tree61cbf48f17b3313af1fcc050a892b00f28561107 /docs
parent87d764f184bd0b1f350eed1c0a43d1b5da3de71f (diff)
parent104f8053370f9e01ac2e8e23bc31d128e5fcc00b (diff)
App Shortcut: Clarify which attributes must be resources
am: 104f805337 Change-Id: I85eb5652c978fe4c41059158cf1d0f180b51fdd7
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>