[英]How to set a font family to an app when your phone use custom font family?
I have created an Android app with an "Arial" font family, my phone use a custom font family and when i launch my application i dont have an Arial font family but the custom font family of my phone.我创建了一个带有“Arial”字体系列的 Android 应用程序,我的手机使用自定义字体系列,当我启动我的应用程序时,我没有 Arial 字体系列,而是手机的自定义字体系列。 Any idea how to fix that?
知道如何解决吗?
try to set font family in every text view using.尝试在每个文本视图中设置字体系列。
<TextView
android:fontFamily="@font/fontfamily"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.