[android-developers] ExpandableListView Problem

2010-03-03 Thread YCH
Hi all, I am encountering an exception in the onCreate method of an activity. java.lang.RuntimeException: Your content must have a ExpandableListView whose id attribute is 'android.R.id.list' The onCreate method is as below. public class TestActivity extends ExpandableListActivity {

Re: [android-developers] ExpandableListView Problem

2010-03-03 Thread Dilli rao
Hi in your xml change the bold item you must specify the id respect to *...@android:id/list not @+id/list* ExpandableListView android:id=*...@android:id/list* android:layout_width=wrap_content android:layout_height=wrap_content / /LinearLayout Thank you. On Wed, Mar 3,