Hey, I'm having problems with a layout I'm currently working with. Everything looks fine with it in portrait mode, but when i switch to landscape, the linearlayout that encompasses the textviews and edittexts go below the end of the screen and you can't see/edit them.
I tried wrapping that linearlayout in a scrollview, but it didn't seem to do anything. below is the xml, i'm trying to wrap that first linear layout in a scrollview. any help would be greatly appreciated. <?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 Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

