Tuesday, September 11, 2018

Android Studio: How to use custom font in an Android project

Step 1: Right-click the res folder and go to New > Android Resource Directory.

Step 2: From Resource type list, select font, and then click OK.

Step 3: Copy your font files (.ttf) and paste it in the font directory created in Step 2. (file name of the fonts should must contain only lowercase a-z, 0-9, or underscore)

Step 4: Now you can assign your font in the xml file using @font/font_name




55 comments:

  1. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. WordPress Developer Brisbane

    ReplyDelete
  2. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include.
    토토사이트

    ReplyDelete
  3. I like this post,And I guess that they having fun to read this post,they shall take a good site to make a information,thanks for sharing it to me.
    파워볼사이트

    ReplyDelete
  4. Thank you for some different informative blog. Wherein else may want to I am getting that kind of facts written in such an ideal approach? I have a challenge that I’m simply now operating on, and i have been on the appearance out for such records.
    Roof Restoration Adelaide

    ReplyDelete
  5. Please take good care of me from now on.Thank you. Plz answer back as I’m looking to construct 먹튀사이트

    ReplyDelete
  6. I'm surprised there's such a wonderful article. We promise to do our This is a pure nice post. 먹튀신고

    ReplyDelete
  7. good of which you’re so good currently Thanks on your marveous posting! Greetings! 보증업체

    ReplyDelete
  8. This is one very interesting post. I like the way you write and I will bookmark your blog to my favorites.메이저놀이터

    ReplyDelete
  9. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts.먹튀검증사이트

    ReplyDelete
  10. succeed in business and get some handsome returns at all times. Due to this fact, business people 스포츠토토사이트

    ReplyDelete
  11. The way you have written your post is so nice. Very professional . Keep writing this amazing post Click the link below 메이저놀이터

    ReplyDelete
  12. if only all bloggers offered the same content as you, the internet would be a far better place instantly grab your rss 토토사이트검증

    ReplyDelete
  13. I live in a different country than you we present the verification criteria 보증업체

    ReplyDelete
  14. I can grow up with. Please continue to do well and always do well 먹튀폴리스 but I believe it will help a lot in my country

    ReplyDelete
  15. Thanks on your marveous posting! Greetings! we present the verification criteria 카지노커뮤니티

    ReplyDelete
  16. Good website! I truly love how it is easy on my eyes it is. I am wondering how I might be notified whenever a new post has been made. I have subscribed to your RSS which may do the trick? Have a great day! 토토사이트

    ReplyDelete
  17. I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers i99pro

    ReplyDelete
  18. Hi there! Nice post! Please tell us when I will see a follow up! 안전놀이터

    ReplyDelete
  19. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. 안전놀이터

    ReplyDelete
  20. It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post. 먹튀검증

    ReplyDelete
  21. Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking. BizOp

    ReplyDelete
  22. This is actually the kind of information I have been trying to find. Thank you for writing this information. 안전놀이터

    ReplyDelete
  23. You have performed a great job on this article. It’s very precise and highly qualitative. You have even managed to make it readable and easy to read. You have some real writing talent. Thank you so much. 무료릴게임

    ReplyDelete
  24. Some truly grand work on behalf of the owner of this website , dead outstanding written content. 파워볼

    ReplyDelete
  25. Thank you ever so for you blog article. Much thanks again. Really Great.
    경마사이트

    ReplyDelete
  26. This is Very very nice article. Everyone should read. 릴게임


    ReplyDelete
  27. That’s good articles also these teachers amazing, thanks for that quality articles. 토토사이트

    ReplyDelete
  28. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. 먹튀검증커뮤니티

    ReplyDelete
  29. I can’t believe focusing long enough to research; much less write this kind of article. You’ve outdone yourself with this material without a doubt. It is one of the greatest contents. 메이저사이트

    ReplyDelete
  30. You have done a great job on this article. It’s very readable and highly intelligent. You have even managed to make it understandable and easy to read. You have some real writing talent. Thank you. 부산오피

    ReplyDelete
  31. Hi there, after reading this remarkable paragraph i am too happy to share my experience here with friends. 카지노사이트

    ReplyDelete
  32. I really enjoy your web’s topic. Very creative and friendly for users. Definitely bookmark this and follow it everyday.온라인카지노

    ReplyDelete
  33. It's late finding this act. At least, it's a thing to be familiar with that there are such events exist. I agree with your Blog and I will be back to inspect it more in the future so please keep up your act 야설
    Also visit my web site 야설

    ReplyDelete
  34. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. 일본야동
    Also visit my web site 일본야동

    ReplyDelete
  35. This web site certainly has all of the information and facts I needed concerning this subject and didn't know who to ask. 국산야동
    Also visit my web site 국산야동

    ReplyDelete
  36. nice post, keep up with this interesting work. It really is good to know that this topic is being covered also on this web site so cheers for taking time to discuss this! pii-email

    ReplyDelete
  37. Thank you a bunch for sharing this with all of us you actually realize what you are talking about! Bookmarked. Please also seek advice from my site =). We could have a hyperlink change contract between us! 토토커뮤니티

    ReplyDelete
  38. Thankyou for this wondrous post, I am glad I observed this website on yahoo. 먹튀검증

    ReplyDelete
  39. Nice to be visiting your blog once more, it has been months for me. Well this article that ive been waited for therefore long. i want this article to finish my assignment within the faculty, and it has same topic together with your article. Thanks, nice share. 안전놀이터

    ReplyDelete
  40. I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks... 팔팔카

    ReplyDelete
  41. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. 토토사이트

    ReplyDelete
  42. I exactly got what you mean, thanks for posting. And, I am too much happy to find this website on the world of Google. 먹튀검증

    ReplyDelete
  43. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. 대전1인샵

    ReplyDelete
  44. hello!! Very interesting discussion glad that I came across such informative post. Keep up the good work friend. Glad to be part of your net community. 대전마사지

    ReplyDelete
  45. I found your this post while searching for some related information on blog search...Its a good post..keep posting and update the information. 대전1인샵

    ReplyDelete
  46. At Inovi, we’re committed to achieving the highest success rates while providing personalized care to our patients. Our Houston location offers expert care and is home to our state-of-the-art embryology lab. a fantastic read

    ReplyDelete
  47. At Inovi, we’re committed to achieving the highest success rates while providing personalized care to our patients. Our Houston location offers expert care and is home to our state-of-the-art embryology lab. browse around here

    ReplyDelete
  48. At Inovi, we’re committed to achieving the highest success rates while providing personalized care to our patients. Our Houston location offers expert care and is home to our state-of-the-art embryology lab. Genteic Testing

    ReplyDelete
  49. With liposuction, the surgeon can remove stubborn fat deposits, improve your physical appearance by using contouring procedures to give you pleasing curves in all the right places. Upper Arms

    ReplyDelete
  50. Today, I was just browsing along and came upon your blog. Just wanted to say good blog and this article helped me a lot, due to which I have found exactly I was looking. 현금바둑이

    ReplyDelete
  51. i am always looking for some free stuffs over the internet. there are also some companies which gives free samples. 먹튀검증

    ReplyDelete