[android-developers] Resource not found exception in ListActivity

2010-09-02 Thread Bret Foreman
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 ArrayAdapterString(this,resourceID,stringList); If my list row layout in layout/listLayout.xml looks like this: ?xml

Re: [android-developers] Resource not found exception in ListActivity

2010-09-02 Thread TreKing
On Thu, Sep 2, 2010 at 12:47 PM, Bret Foreman bret.fore...@gmail.comwrote: Should the resourceID field in the constructor be R.layout.listLayout, R.id.listLinearLayout, or R.id.chooseTableRowTextView? You could probably just try them all and see what happens in about 30 seconds ... but ...