This question already has an answer here:
- Spinner does not wrap text — is this an Android bug? 14 answers
I recently just implemented the holo theme into my android app. After doing this, any spinner that I have, where the drop down item is multiple lines long, will not wrap the text to multiple lines. Each drop down item is kept all on one line and truncated to a certain length.
Here is my xml for the drop down resource for the spinner
<CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1"
style="?android:attr/spinnerDropDownItemStyle"
android:singleLine="false"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ellipsize="none" />
This works on older versions of android before ICS and the holo theme.
Has anyone else encountered this issue?