How do you change a Spinner's typeface?

by polyclefsoftware » Thu, 11 Jun 2009 00:45:39 GMT

Sponsored Links
 I want to apply a non-native font to widgets in my app. This is
working fine for TextViews and Buttons, which have a setTypeface
method. The code below works just great for my button:

Typeface face = Typeface.createFromAsset(getAssets(), "fonts/
playButton = (Button) findViewById(;

But I just can't seem to figure out how to apply the font to a
Spinner. Any ideas?


Other Threads

1. Do we get any event in the Activity when the activity gets re-sized?

As I said, the window gets resized, not the activity.  The activity doesn't
have a size.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


2. Android 1.6 CDMA Support

anyone knows if the MEID  which is the device ID equivalent to IMEI is
going to be 15 digits as well..
is it hex or decimal???

3. Do we get any event in the Activity when the activity gets re-sized?

4. How to run Instrumentation tests on device

5. Why the g2 could not play "rtsp" movie?

6. MediaPlayer and rtsp streaming problems

7. Have anyone used mediaplayer to run rtsp streaming successfully either on the emulator or on the HTC device?