summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2016-11-11 23:36:04 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-11-11 23:36:04 +0000
commit7e1b835a4e7f3e8d29b1c294cbbd2ca1eeb2cfbf (patch)
treecf752f484a2fb2baeac73180cf3bb5e679e7d4c2 /docs
parentb098dc6b89dd290a75efb8b681d5dad36efc7374 (diff)
parentb0fd5ba1229d68a58db4c1e91238f5e587e3c7c2 (diff)
App Shortcut: Clarify which attributes must be resources am: 104f805337 am: 2a3fe7d979
am: b0fd5ba122 Change-Id: I4780d09f8b692dbe76f1726a436f9693281fd488
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>