简体   繁体   English

如何将彩色图像导入 Android Studio 3.6?

[英]How can I import a color image into Android Studio 3.6?

For some reason all images I import to my android studio project are gray scale.由于某种原因,我导入到我的 android 工作室项目的所有图像都是灰度的。 Previously I found a solution here:以前我在这里找到了解决方案:

The colored image turned to have no color and just a grey vector in drawable? 彩色图像变成没有颜色,只有可绘制的灰色矢量?

But apparently the batch drawable importer stopped working in Android Studio 3.6.但显然批量可绘制导入器在 Android Studio 3.6 中停止工作。 Is there another solution I am unaware of?还有其他我不知道的解决方案吗?

Edit: Do I need to give more information or am I just the only one with this problem?编辑:我需要提供更多信息还是我只是这个问题的唯一一个?

I did a lot more looking and if you click on "resource monitor" on the left (for me) there is a "plus" sign that you can select to add drawables.我做了更多的查找,如果您单击左侧的“资源监视器”(对我而言),则有一个“加号”表示您可以 select 添加可绘制对象。 Depending on the file type, it will correctly import the drawable as a full color image根据文件类型,它将正确地将可绘制对象导入为全彩色图像

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

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