Well now I don't get an error when I save, but I still can't get the
layout to display, now it says this:

UnsupportedOperationException: BridgeTypedArray:UNKNOWN VALUE FOR
getTextArray(0) => @array/FacesList

Thanks for the help.  :)

On Jan 14, 2:18 pm, Dmaxi <robert.b...@gmail.com> wrote:
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to