Answers for "how to set font for android programmatically"

1

How to chage font progrmatically

TextView tv = (TextView) findViewById(R.id.appname);
Typeface face = Typeface.createFromAsset(getAssets(),
            "fonts/epimodem.ttf");
tv.setTypeface(face);
Posted by: Guest on March-29-2020

Code answers related to "how to set font for android programmatically"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language