0
I have a spinner where I intend to name the horoscopes. However, the name of horoscopes appears with a blank line separating each horoscope when I "open" the spinner. Something like this:
-linha em branco-
Geminis
-linha em branco-
Cancer
-linha em branco-
Can anyone tell me how I can narrow the gap between the names of each horoscope? This is my code:
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
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" />
Blank line?
– Arubu