I am new to android, so maybe this question is naive.
I am trying to build a layout with two lists side by side. It works fine when I have one list, but when I add a second one, I get this error.
My view extends Activity and not ListActivity.
But I just can't figure out why my build fails with this error:
\main.xml:13: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/selected_list').
\Android\android-sdk\tools\ant\build.xml:598: The following error occurred while executing this line:
\Android\android-sdk\tools\ant\build.xml:627: null returned: 1
This is what my main.xml looks like:
<ListView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@android:id/list"
android:layout_weight=".5"/>
<ListView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@android:id/selected_list"
android:layout_weight=".5"/>