Thursday, March 29, 2012

ListView whose id attribute is 'android.R.id.list

The solution to this problem is


<ListView android:id="@android:id/list"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"/>

the id should be "list" and it should be like "@android:id/list" not "@+id/list"

No comments:

Post a Comment