diff --git a/core/java/android/widget/package.html b/core/java/android/widget/package.html index 7d94a4b71f849..91d327c4951b7 100644 --- a/core/java/android/widget/package.html +++ b/core/java/android/widget/package.html @@ -1,11 +1,16 @@
+The widget package contains (mostly visual) UI elements to use -on your Application screen. You can design your own
+on your Application screen. You can also design your own. +
+ +To create your own widget, extend {@link android.view.View} or a subclass. To use your widget in layout XML, there are two additional files for you to create. Here is a list of files you'll need to create to implement a custom widget: +
ApiDemos sample application has an example of creating a custom layout XML tag, LabelView. See the following files that demonstrate implementing and using -a custom widget:
+a custom widget: +