I replaced array with string-array and now I get no resource found

On Jan 13, 8:05 pm, James Yum <j...@google.com> wrote:
> I believe it should be a string-array rather than an array.
>
> Cheers,
> James
>
> On Tue, Jan 13, 2009 at 3:15 PM, ecogeek <ecog...@gmail.com> wrote:
>
> > I'm trying to make my first app and I'm designing the UI right now and
> > I am extremely hung up.
>
> > I have this in my arrays.xml file
>
> > <?xml version="1.0" encoding="utf-8"?>
> > <resources>
> > <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>
> > </array>
> > </resources>
>
> > And this in my main.xml file
>
> > <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"
>
> > I'm using Eclipse and when I click on the layout tab I get the
> > following:
> > UnsupportedOperationException: BridgeTypedArray:UNKNOWN VALUE FOR
> > getTextArray(0) => 2
>
> > Any help would be greatly appreciated.
--~--~---------~--~----~------------~-------~--~----~
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