over 9 years ago
Android gives us the facility to customize our strings font. For this we need to keep .ttf files of the specific font in assets/fonts folder. We can easily download ttf from internet that we want to apply.
Then we use Typeface class to handle this. Below is the code
TextView exampleText = (TextView)findViewById(R.id.example_text); Typeface my_font =Typeface.createFromAsset(getAssets(),"fonts/specialfont.ttf"); exampleText .setTypeface(my_font);
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)