It is not possible to define adapterView child views (Galler, Spinner, ListView, ...) directly in the layout XML file. as you did in your code.
However, there is a way to avoid adapters. However, it has limited usability. You can use the attribute android:entries.
<Gallery
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:entries="@array/my_items" >
</Gallery>
Put the reference to the array resource as the attribute value.
<string-array name="my_items">
<item>text1</item>
<item>text2</item>
<item>...</item>
</string-array>
.
, ( ) , . , .