anushree wrote: > hi i am trying to create a list view for ui of my project but it is > returnng the following error: > error: Error: No resource found that matches the given name (at > 'entries' with value '@arrays/items'). > > here's the main.xml: > > <?xml version="1.0" encoding="utf-8"?> > <RelativeLayout > android:id="@+id/widget28" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > xmlns:android="http://schemas.android.com/apk/res/android" > <ListView > android:id="@+id/widget29" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:entries="@arrays/items" > android:layout_alignParentTop="true" > android:layout_alignParentLeft="true" > </ListView> > </RelativeLayout> > > can anyone please tell me whats going wrong???
There is no @arrays/ resource type. There is an @array/ resource type. Change that, and make sure you have a array resource named "items". -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Consulting/App Development: http://commonsware.com/consulting -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

