2011-06-14 78 views

回答

8

Typeface.createFromFile()需要String路径或File

Typeface typeface = Typeface.createFromFile(
    new File(Environment.getExternalStorageDirectory(), "font.ttf"));