hi , i want to add ListView after the gridView in my program and ListViews are dynamically added which are more than 10 in numbers. the xml file which i created is as follows
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scrollbarFadeDuration="5000" android:scrollbarSize="12dip" > <AbsoluteLayout android:id ="@+id/layout" android:layout_width="fill_parent" android:layout_height="fill_parent" > <GridView android:id ="@+id/griddd" android:layout_width ="fill_parent" android:layout_height= "wrap_content" android:padding ="10dip" android:verticalSpacing="10" android:numColumns ="4" android:columnWidth="30" android:layout_x="0px" android:layout_y="20px" /> <ListView android:id="@+id/android:list" android:layout_width="fill_parent" android:layout_height="fill_parent"/> </AbsoluteLayout> </ScrollView> i am getting run time error "Grid Views Cant have UNSPECIFIED SIZE" please solve my problem. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---