Spinner stretches hideously


Last Updated:

  1. tsuand

    tsuand New Member This Topic's Starter

    Joined:
    Jul 1, 2009
    Messages:
    1
    Likes Received:
    0
    Hey everyone, I have a quick question that I know has an easy answer, but I can't for the life of me figure it out.

    For some reason, my spinners keep stretching vertically and look just godawful. They look normal when editing the layout, but once they're populated with some entries from an array, well... see for yourselves:

    [​IMG]

    No setting seems to affect it one way or the other. What's going on and how can I correct it? Any help would be greatly appreciated!

    Edit: Oh, right, and here is the XML I'm using:

    Code (Text):
    1. <Spinner
    2. android:layout_height="wrap_content"
    3. android:layout_weight="2"
    4. android:layout_width="fill_parent"
    5. android:id="@+id/spinnerField"
    6. android:prompt="@string/searchSpinnerFieldPrompt" />
     

    Advertisement

Share This Page

Loading...