I tried it and works.
arrays.xml:
<resources>
<string-array name="FacesList">
<item> 2</item>
<item> 4</item>
<item> 6</item>
<item> 8</item>
<item> 10</item>
<item> 12</item>
<item> 20</item>
<item> 100</item>
</string-array>
</resources>
main.xml:
<ListView
android:id="@+id/DiceFaces"
android:layout_width="50px"
android:layout_height="wrap_content"
android:drawSelectorOnTop="true"
android:entries="@array/FacesList"
android:layout_x="209px"
android:layout_y="128px"
/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---