I asked this on the android-beginners list, but haven't gotten a response yet so I figured I'd ask here as well.
I have a RelativeLayout that has two LinearLayouts in it. One is a bunch of TextViews and EditTexts that make up a form and the other is a ButtonBar that submits the form. anyways, everything looks great in portrait, but when i switch to landscape mode the bottom TextView/EditText element is being hidden by the buttonbar. any help would be greatly appreciated. screenshot to show the problem. as you can see some of the "email" textview and all of the email edit text are being hidden by button bar. http://i45.tinypic.com/2dt7qmt.jpg and 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="fill_parent"> <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_alignParentTop="true" android:layout_height="wrap_content"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/customer_id" /> <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> <EditText android:id="@+id/customerid_field" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:hint="@string/customer_id" android:singleLine="true" /> <Button android:id="@+id/customerSelectButton" android:text="@string/button_get_customers" android:layout_width="wrap_content" android:layout_height="wrap_content" android:bufferType="editable" /> </LinearLayout> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/po_number" /> <EditText android:id="@+id/ponumber_field" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:hint="@string/po_number" android:singleLine="true" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/packet" /> <EditText android:id="@+id/packet_field" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:hint="@string/packet" android:singleLine="true" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/email" /> <EditText android:id="@+id/email_field" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:hint="@string/email" android:singleLine="true" /> </LinearLayout> <LinearLayout style="@android:style/ButtonBar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="bottom" android:layout_alignParentBottom="true" android:orientation="horizontal"> <Button android:id="@+id/saveOrderButton" android:text="@string/button_create_order" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1" android:enabled="true"/> <Button android:id="@+id/deleteOrderButton" android:text="@string/button_delete_order" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1" android:visibility="gone" android:enabled="false"/> </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

