[android-developers] Setting text style for a Spinner?
Hi, I have a Spinner in a resource file. I'm giving it an ArrayAdapterString to show. What's the right way to style the font used by the spinner? I'd like to change the size of the text and its color. I tried: Spinner android:layout_width=fill_parent android:layout_height=wrap_content android:textAppearance=@style/mystyle / but it's not being honored, Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Setting text style for a Spinner?
Mark Wyszomierski wrote: Hi, I have a Spinner in a resource file. I'm giving it an ArrayAdapterString to show. What's the right way to style the font used by the spinner? I'd like to change the size of the text and its color. I tried: Spinner android:layout_width=fill_parent android:layout_height=wrap_content android:textAppearance=@style/mystyle / but it's not being honored, Set the font used by the Views served by the Adapter you associate with the Spinner. A Spinner by itself has no text. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android 2.x Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.