How to set font custom font to Spinner text programmatically?
问题 I have a ttf font file in my assets folder. I know how to use it for textviews with: Typeface externalFont=Typeface.createFromAsset(getAssets(), \"fonts/HelveticaNeueLTCom-Lt.ttf\"); textview1.setTypeface(externalFont); I have defined look for my spinner text in it\'s own xml file (as usuall in android): <?xml version=\"1.0\" encoding=\"utf-8\"?> <TextView xmlns:android=\"http://schemas.android.com/apk/res/android\" android:id=\"@+android:id/text1\" style=\"?android:attr/spinnerItemStyle\"