代号中的Google材料设计 [英] Google material design in codenameone

查看:43
本文介绍了代号中的Google材料设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

codenameone是否支持Google物料设计,如果可以,请提供有关如何在我的应用程序中使用它(图标和字体)的示例代码。
谢谢

Does codenameone has support for Google material design,if yes help me with a sample code on how to use (both icon and font) it in my app. Thanks

推荐答案

并非材料设计的每个元素都受支持,但字体(roboto)等将在以下情况下使用您在设计器工具中选择native:字体。

Not every element of Material design is supported but the fonts (roboto) etc. will be used when you pick the native: fonts in the Designer tool.

您还可以使用 FontImage 类使用所有材质设计图标,请参见 https://www.codenameone.com/blog/material-icons-background-music-geofencing -gradle.html

You can also use all the material design icons using the FontImage class see https://www.codenameone.com/blog/material-icons-background-music-geofencing-gradle.html

还有很多其他东西,但问题有点含糊。

There are quite a few other things but the question is a bit vague.

这篇关于代号中的Google材料设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆