예제 #1
0
 public void setSubFont(String font) {
   Typeface typeSub = Typeface.createFromAsset(getAssets(), font);
   mSubTxtTitle.setTypeface(typeSub);
 }
예제 #2
0
 public void setFont(String font) {
   Typeface type = Typeface.createFromAsset(getAssets(), font);
   mTxtTitle.setTypeface(type);
 }