Making StackWidget sample code stand alone as opposed to bundled with HoneycombGallery
Change-Id: I9da8433ee8a9710f5a5362a6f82fc96d4f456c88
diff --git a/samples/StackWidget/_index.html b/samples/StackWidget/_index.html
new file mode 100644
index 0000000..e1af317
--- /dev/null
+++ b/samples/StackWidget/_index.html
@@ -0,0 +1,31 @@
+<p>
+ This sample shows how to construct a simple collection widget. This particular example shows how
+ to create a widget containing a <a href="../../../reference/android/widget/StackView.html"><code>StackView</code></a>
+ ; however, only minimal changes are required to include
+ a <a href="../../../reference/android/widget/ListView.html"><code>ListView</code></a>,
+ <a href="../../../reference/android/widget/GridView.html"><code>GridView</code></a> or
+ <a href="../../../reference/android/widget/AdapterViewFlipper.html"><code>AdapterViewFlipper</code></a> instead.
+</p>
+<p>
+ The sample demonstrates the following:
+</p>
+ <ul>
+ <li>
+ The pattern for creating and wiring a <a href="../../../reference/android/widget/RemoteViewsService.html"><code>RemoteViewsService</code></a>
+ and <a href="../../../reference/android/widget/RemoteViewsService.RemoteViewsFactory.html"><code>RemoteViewsFactory</code></a> which
+ serve the function of an adapter for the widget collection.
+ </li>
+ <li>
+ The pattern for setting an intent template and fill-in intents in order to
+ provide children of the collection with click behaviour.
+ </li>
+ <li>
+ How to make a widget with a <a href="../../../reference/android/widget/StackView.html"><code>StackView</code></a>
+ (or <a href="../../../reference/android/widget/AdapterViewFlipper.html"><code>AdapterViewFlipper</code></a>) auto-advance.
+ </li>
+ <li>
+ How to set a widget preview image.
+ </li>
+ </ul>
+<img alt="The widget."
+ src="../images/StackWidget.png"/>
\ No newline at end of file