Android - Using Custom Font

后端 未结 21 1984
别跟我提以往
别跟我提以往 2020-11-22 04:38

I applied a custom font to a TextView, but it doesn\'t seems to change the typeface.

Here is my code:

    Typeface myTypeface = Typeface         


        
21条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 05:29

    I've successfully used this before. The only difference between our implementations is that I wasn't using a subfolder in assets. Not sure if that will change anything, though.

提交回复
热议问题