I'm using ListActivity with an ArrayAdapter as the list adapter and getting a resource not found exception. When I build the ArrayAdapter I call the constructor like this:
new ArrayAdapter<String>(this,resourceID,stringList); If my list row layout in layout/listLayout.xml looks like this: <?xml version="1.0" encoding="utf-8"?> <LinearLayout android:id="@+id/listLinearLayout" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"> <TextView android:text="None set" android:id="@+id/ chooseTableRowTextView" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView> </LinearLayout> Should the resourceID field in the constructor be R.layout.listLayout, R.id.listLinearLayout, or R.id.chooseTableRowTextView? -- 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