Thanks, that makes sense now. What would be a better way to position the widgets?
----- Original Message ----- From: "Mark Murphy" <[email protected]> To: [email protected] Sent: Thursday, April 16, 2009 11:24:34 PM GMT -05:00 US/Canada Eastern Subject: [android-beginners] Re: Only first control displays > I am trying to put three controls in my layout but only the Edit control > displays. I don't really need to access any of them except to respond > to the button. I thought I didn't need the ID but I put it in just to > see if it would cause them to display. Can anyone spot what I am doing > wrong? Your first widget has a 200 pixel top margin, and some amount of height (based on font, probably somewhere in the neighborhood of 30 pixels). Your second widget has a 275 pixel top margin. That is 505 pixels even before the second widget itself is supposed to display. The G1/emulator screen is 480 pixels high. Try removing your margins, and I suspect your widgets will show up. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

