Why does the EditText in the XML below appear as a single-line EditText in my application but appear as a multiple-line EditText in the Eclipse layout preview? Please see screenshots. I would like for the EditText to take up three-fourths of the dialog I am trying to create.
Screenshot of XML and layout preview in Eclipse: http://i41.tinypic.com/2cnxwgm.png Screenshot of layout in application: http://i40.tinypic.com/2iu6l1i.png <?xml version="1.0" encoding="utf-8"?> XML for dialog with EditText and two buttons: <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" > <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="3" > <EditText android:id="@+id/ComposeNote_editTextComposeNote" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="5px" android:layout_marginRight="5px" android:layout_marginTop="5px" /> </LinearLayout> <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" > <Button android:id="@+id/ComposeNote_buttonCancel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:text="Cancel" /> <Button android:id="@+id/ComposeNote_buttonLeaveNote" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="2" android:text="Leave Note" /> </LinearLayout> </LinearLayout> How can this XML be changed to make the EditText appear as a multiple- line dialog in my application? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

