简体   繁体   English

ttf android studio 中的图标

[英]icon in ttf android studio

I want a .ttf file to icon.我想要一个 .ttf 文件来图标。 I am referencing the file like ( icon = "& # xf00d;"; ).我正在引用文件( icon = "& # xf00d;"; )。 But it doesn't work.但它不起作用。 Where could the problem be.问题出在哪里。 Thanks in advance for your help在此先感谢您的帮助

I'm use https://drive.google.com/file/d/1jaRXMKBg1x-OoSz8hFxpu1ZjhNm6idrd/view?fbclid=IwAR29TZQOjnvfJU7eLyTtXU6n2VY-DN-nnjh1vQpYYXsszaYQ9l7uN4RP9gU these icons我正在使用https://drive.google.com/file/d/1jaRXMKBg1x-OoSz8hFxpu1ZjhNm6idrd/view?fbclid=IwAR29TZQOjnvfJU7eLyTtXU6n2VY-DN-nnjh1vQpYYXsszaY49RPl

I guess these are the same icons proposed in weather icons like font awesome So I recommend to use html tag to include them.我猜这些是在天气图标中提出的相同图标,比如 font awesome所以我建议使用 html 标签来包含它们。 Actually I am not familiar with android studio but I am pretty sure that it has ability to include font icons.实际上我对 android studio 并不熟悉,但我很确定它能够包含字体图标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM