Change Spinner Font?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Change Spinner Font?

Postby Derek5432 » Sat Jun 06, 2009 6:39 pm

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:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. Typeface face = Typeface.createFromAsset(getAssets(), "fonts/my_font.ttf");            
  3. playButton = (Button) findViewById(;
  5. playButton.setTypeface(face);
Parsed in 0.014 seconds, using GeSHi

But I just can't seem to figure out how to apply the font to a Spinner. Any ideas?
Junior Developer
Junior Developer
Posts: 15
Joined: Thu Mar 12, 2009 1:42 am


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests