【发布时间】:2020-12-12 09:38:36
【问题描述】:
我现在正在尝试寻找 Calligraphy 的替代品,因为我必须将我的项目升级到 API 级别 29。我对新端口没有任何运气,所以我正在尝试以下建议的本机解决方案:
https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml?authuser=1
https://devblogs.microsoft.com/xamarin/embedded-fonts-xamarin-forms/
https://johnthiriet.com/xamarin-android-custom-font/
很遗憾,我收到以下错误:
错误 APT2260:找不到资源字体/IndieFlower(又名 com.________)。
我按照说明将字体从 Assets 移动到 Resources/font 文件夹,但仍然出现此错误。
【问题讨论】:
标签: xamarin fonts xamarin.android