当您 phone 使用自定义字体系列时,如何为应用程序设置字体系列?

How to set a font family to an app when your phone use custom font family?

我创建了一个带有“Arial”字体系列的 Android 应用程序,我的 phone 使用自定义字体系列,当我启动我的应用程序时,我没有 Arial 字体系列但是自定义我 phone 的字体系列。知道如何解决这个问题吗?

Theme

TextView code

What i want

What i have

尝试在每个文本视图中设置字体系列。

<TextView
   android:fontFamily="@font/fontfamily"/>