Any way to setTypeFace from url for a Textview?
问题 I want to setTypeFace from url like : https://github.com/anak10thn/frontend-homepage/raw/master/font/helvetica-regular.otf Do you know if there any way ? I tried this : Typeface tf = Typeface.createFromFile("https://github.com/anak10thn/frontend-homepage/raw/master/font/helvetica-regular.otf"); tv.setTypeface(tf); It doesn't work. I have this error : 03-24 04:46:59.931 1314-1314/bya.fchps.buildyourapp E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: bya.fchps.buildyourapp, PID: 1314 java.lang