Setting text style for a Spinner?

by Mark Wyszomierski » Wed, 31 Mar 2010 02:44:52 GMT

Sponsored Links

I have a Spinner in a resource file. I'm giving it an
ArrayAdapter<String> 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:

    android:textAppearance="@style/mystyle" />

but it's not being honored,



Setting text style for a Spinner?

by Mark Murphy » Wed, 31 Mar 2010 02:48:55 GMT


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)  | 

Android 2.x Programming Books: 


Sponsored Links

Other Threads

1. How to get raw video frames?


I am trying to get the raw video frames from the camera.
Is there any other way than using "startPreview" and
"setPreviewCallback" method?

Is there anyway we can get the raw video frames at the native layer
using similar approach using direct C++ classes?

Thanks in advance.



2. Delay Tolerant Networking (DTN) Protocol



Does anybody know whether Delay Tolerant Networking (DTN) protocol has been 
added to Android's mobile stack or not ? Any references or links would be great 
if you're aware of a group, webpage, code repository etc.




Introducing Windows phone.


3. A good opportunity to investment

4. Android Sudah Digunakan di 26 Ponsel

5. Tanya lagi....

6. We need a Drag and Drop control for Android

7. getRotationMatrix and getOrientation