Tuesday, 12 March 2013

Using external font in ANDROID

    

TextView text =(TextView) findViewById(R.id.textview);
    Typeface face;
    face = Typeface.createFromAsset(getAssets(), "AMAZB.TTF");
    text.setTypeface(face);
    text.setTextSize(30);
    text.setTextColor(Color.WHITE);         

No comments:

Post a Comment