diff --git a/docs/html/guide/topics/appwidgets/index.jd b/docs/html/guide/topics/appwidgets/index.jd index f6d481ae882ee..f11fca3248a43 100644 --- a/docs/html/guide/topics/appwidgets/index.jd +++ b/docs/html/guide/topics/appwidgets/index.jd @@ -55,19 +55,19 @@ class to aid in handling the broadcasts. {@sample frameworks/base/tests/appwidgets/AppWidgetHostTest/AndroidManifest.xml AppWidgetProvider}
-The <receiver> element has the following attributes:
+The <receiver> element has the following attributes:
android:name - which specifies the
+ android:name - specifies the
{@link android.content.BroadcastReceiver} or {@link android.appwidget.AppWidgetProvider}
class.android:label - which specifies the string resource that
+ android:label - specifies the string resource that
will be shown by the widget picker as the label.android:icon - which specifies the drawable resource that
+ android:icon - specifies the drawable resource that
will be shown by the widget picker as the icon.
-The
-The <intent-filter> element tells the {@link android.content.pm.PackageManager}
+The <intent-filter> element tells the {@link android.content.pm.PackageManager}
that this {@link android.content.BroadcastReceiver} receives the {@link
android.appwidget.AppWidgetManager#ACTION_APPWIDGET_UPDATE AppWidgetManager.ACTION_APPWIDGET_UPDATE} broadcast.
The widget manager will send other broadcasts directly to your widget provider as required.
@@ -75,13 +75,13 @@ It is only necessary to explicitly declare that you accept the {@link
android.appwidget.AppWidgetManager#ACTION_APPWIDGET_UPDATE AppWidgetManager.ACTION_APPWIDGET_UPDATE} broadcast.
<meta-data> element tells the widget manager which xml resource to
+The <meta-data> element tells the widget manager which xml resource to
read to find the {@link android.appwidget.AppWidgetProviderInfo} for your widget provider. It has the following
attributes:
-
android:name="android.appwidget.provider" - identifies this meta-data
+ android:name="android.appwidget.provider" - identifies this meta-data
as the {@link android.appwidget.AppWidgetProviderInfo} descriptor.android:resource - is the xml resource to use as that descriptor.android:resource - is the xml resource to use as that descriptor.