如何在Android Studio中更改图标颜色 [英] How to change icon colors in android studio

查看:692
本文介绍了如何在Android Studio中更改图标颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从material.io下载了一些图标,但它们仅提供黑色图标。我看了一个YouTube视频,他们用它们来选择颜色。无论如何,我正在尝试将图标的颜色更改为白色。我没有运气。我试图在android studio中更改填充颜色,但无法正常工作。任何帮助将不胜感激,例如确切的代码和向其添加代码的文件。谢谢。

I downloaded some icons from material.io but they only offer the icons in black. I saw a youtube video where they use to allow you to choose the color. Anyway, I am trying to change the colors of the icons to white. I am not having any luck. I tried to change the fill color in android studio but it doesn't work. Any assistance would be appreciated such as exact code and files to add the code to. Thanks.

推荐答案

您可以直接在Android Studio中下载这些图像。

You can directly download these images in Android Studio.

res>右键单击>新建>图像资产,然后选择

res > right click > New > Image Asset and select


  • 图标类型:操作栏和标签图标

  • 资产类型:剪贴画

  • 主题:自定义

您可以选择您想要的任何剪贴画,选择颜色,填充等...

And you can select any clip art that you want, select the color, padding, etc ...

这篇关于如何在Android Studio中更改图标颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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