How to use typeface in notification?

2019-05-14 04:47发布

Is it possible to use typeface in notification message, so that I can change the font? I have searched all over internet but couldnt get any solution or code.So that I cant tell you, what I have tried so far. Any help would be appreciated. Thank you...

Edit: I have found here that we can use custom layouts for notification.So, is it possible to access textview in custom layout, and use typeface?

1条回答
beautiful°
2楼-- · 2019-05-14 05:08

Notifications contain textViews and you can always setTypeface on textViews.

查看更多
登录 后发表回答