I have a spinner where I want to put the horoscopes name. However, the name of horoscopes appears with a blank line separating each horoscope when I "open" the spinner. More or less like this:
-linha em branco-
Geminis
-linha em branco-
Cancer
-linha em branco-
Can anyone tell me how I can narrow the space between the names of each horoscope? My code is this:
strings.xml
<string-array name="horoscope_array">
<item>Aquarius</item>
<item>Pisces</item>
<item>Aries</item>
<item>Taurus</item>
<item>Gemini</item>
<item>Cancer</item>
<item>Leo</item>
<item>Virgo</item>
<item>Libra</item>
<item>Scorpius</item>
<item>Sagitarius</item>
<item>Capricorn</item>
</string-array>
<string name="horoscope_prompt">Choose a Horoscope</string>
In my layout.xml
I have:
<Spinner
android:layout_height="35dp"
android:id="@+id/spinner1"
android:layout_width="match_parent"
android:entries="@array/horoscope_array"
android:textColor="@color/orange"
android:prompt="@string/horoscope_prompt" />