可以在第三方库中更改自定义字体
我是第三方图书馆的新手,我使用飞溅屏幕作为我项目的开始活动。 awsomesplashscreen
titlefont属于字符串! ,我无法更改为任何字体。已经尝试了很多方法,但是问题只有字符串,而我使用的字体仅是int或字体(将其转换为字符串无法解决问题)。它说了资产文件夹的问题。
请注意,该库是旧的,并且字体现在位于Resources文件中,而不是资产文件夹,已经尝试制作带有字体的资产目录,但问题是问题。
编辑:我已经尝试了另一个第三方库 splashy
我在Android Arsenal中找到了2个依赖项,第一个IS
实现'com.github.rahuldange09:plaplashy:v1.1.0'
它可以正常工作,但没有任何更改字体的功能。
第二个是 实现'com.rbddevs.splashy:plaplashy:1.3.0'
根本没有工作,甚至没有实施飞溅的类。 所以你能帮我吗?
I'm new to third party libraries, I'm using a splash screen as a start activity to my project. AwsomeSplashScreen
there's attribute called titleFont which takes String! , i can't change to any font. already tried so many ways but the problem that it takes only String and the font i use will only be Int or Typeface (converting it to String doesn't solve the problem). It says a problem with the assets folder.
Note that the library is old and font is now in resources file not assets folder, already tried to make assets directory with fonts in it but the issue.
Edit: I've tried another third party library Splashy
I found 2 dependencies in Android Arsenal, The first one is
implementation 'com.github.rahuldange09:Splashy:v1.1.0'
which works fine but doesn't have any functions to change fonts.
The second one isimplementation 'com.rbddevs.splashy:splashy:1.3.0'
which is not working at all and even Splashy class is not implemented.
So can you help me with that please.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论