1
我正在使用Monodroid來創建應用程序,我無法弄清楚如何製作自定義字體。Monodroid - 設置自定義字體
下面是我的代碼
TextView text = FindViewById<TextView>(Resource.Id.tvchange);
Typeface tf = Typeface.CreateFromAsset(Assets,"fonts/gt.otf");
text.SetTypeface(tf);
沒有getAssets()在MonoDroid的,所以我不知道,如果字體是正確的,text.SetTypeface(tf);
需要兩個arguements,第二我不知道。
感謝