How to use HelloGallery Widget
<p>I am running the <a href="http://developer.android.com/resources/tutorials/views/hello-gallery.html" rel="nofollow">HelloGallery example</a> for Android (using the XML layout file below), and I am now wondering how I would use it in my app.  </p>

<p>It is referred to as a "layout widget". Is this different than an "app widget"?<br>
I am having trouble finding resources for adding this to my app, since when I search for "layout widget" I get references to widgets that float around on the home screen, and not using them within apps. </p>

<p>How would this be done?</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;Gallery xmlns:android="http://schemas.android.com/apk/res/android" 
    android:id="@+id/gallery"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
/&gt;
</code></pre>
