"keep the Spinner at the same height as the Spinner... " keep the EditText at the same height as the Spinner is what I mean...
On Apr 25, 4:11 pm, kingkung <[EMAIL PROTECTED]> wrote: > I have a table layout and I'm programatically adding an EditText > object and a Spinner on one table row. Simple enough, right? You'd > think, since it's a TableROW, that the two objects would be level. > Instead, the Spinner is always slightly below the EditText object. > > Is there a good way to fix this? I've tried setGravity(TOP) on the > Spinner, but that only moves the > text to the top edge of the Spinner. I can't manually adjust the > height of the Spinner because this is a TableRow, and for whatever > reason, setting LayoutParams on the Spinner gives me the "Invalid > LayoutParam error". Anyway, I shouldn't have to adjust the height: I > assume that there should be a simple way to keep the Spinner at the > same height as the Spinner... > > James --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

