This is ridiculous.
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, as seen in the picture.
Is there really no 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: there should be a simple way to keep the Spinner at the same height as the EditText...