Hello list, i think i need some help with a layout issue. I have three views, two TextViews (header and footer) and in between a ListView. They are rendered good, in portait mode. When i go into landscape mode, the ViewList is gone. Switching back to portait mode and the ViewList is still gone....Here is my xml.
<?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="wrap_content"> <TextView android:id="@+id/header" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="top" android:text="HEADER" /> <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@+id/header" android:layout_above="@+id/footer"> <ListView android:id="@+id/ListView01" android:layout_width="wrap_content" android:layout_height="fill_parent" android:divider="@null" android:fadingEdge="none"> </ListView> </LinearLayout> <TextView android:id="@+id/footer" android:layout_alignParentBottom="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="FOOTER" /> </RelativeLayout> Any ideas why this is happening? Thnx Jiri --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---