Android:在SD卡中加载自定义字体

|| 是否可以在存储在SD卡中的android中使用自定义字体?到目前为止,我所看到的表明字体文件必须位于Assets文件夹中。请告诉我我错了。     
已邀请:
        我自己还没有尝试过,但是菜谱说明您可以通过使用
Typeface.createFromFile(String path)
http://androidcookbook.com/Recipe.seam;jsessionid=A2DD7A11C804B7C7646DCA883AA452FC?recipeId=1141     
        
Typeface.createFromFile()
采用
String
路径或
File
Typeface typeface = Typeface.createFromFile(
    new File(Environment.getExternalStorageDirectory(), \"font.ttf\"));
    

要回复问题请先登录注册