How can you assign a custom (NOT BUILT IN ANDROID) font typeface to a TextView?

Question:How can you assign a custom (NOT BUILT IN ANDROID) font typeface to a TextView?

1.In code: mTextViem.setTypeface(Typeface myfont);

2.In styles xml: <item name="android:typeface|>"myfont"</item>

3.In layout xml: android:typeface="myfont"

4.None of the above


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!