Hi Friends, This is kiran stuck up at the fallowing please help me out..
I taken RelativeLayout in main.xml file in which i have taken three linear layouts. I want to add my list view to the second linear layout but i unable to do it. List view is visible in all part of the activity. Remaining layouts data has has not shown. what can do for making listview visible in the second linear layout only? Please help me. <code> <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <LinearLayout android:id="@+id/l1" android:layout_width="wrap_content" android:layout_height="100dip"> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> </LinearLayout> <LinearLayout android:id="@+id/l2" android:layout_width="wrap_content" android:layout_height="350dip" android:layout_below="@+id/l1" android:orientation="horizontal" xmlns:android="http://schemas.android.com/apk/res/android" > <LinearLayout android:layout_width="wrap_content" android:layout_height="?android:attr/listPreferredItemHeight" android:gravity="center"> <ImageView android:id="@+id/icon" android:layout_width="60px" android:layout_height="60px" android:layout_marginRight="6dip"/> <LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_weight="1" android:layout_height="fill_parent"> <TextView android:id="@+id/stuname" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="center_vertical" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:id="@+id/studetail" android:singleLine="true" android:ellipsize="marquee" /> </LinearLayout> </LinearLayout> </LinearLayout> <LinearLayout android:id="@+id/l3" android:layout_width="wrap_content" android:layout_height="100dip" android:layout_below="@+id/l2"> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> </LinearLayout> </RelativeLayout> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

