如何导入或复制图像到"资源和QUOT;文件夹中的机器人工作室?机器人、图像、工作室、文件

2023-09-06 01:28:41 作者:不羡仙

我可以在 RES /绘制-XXX 文件夹直接保存所有我的图片。

但我怎么能导入/复制图片到我的项目从 Android的工作室

如果我拖动降我的图片从搜索(MacOS的),该文件只能移动到 RES 文件夹。

目前在上下文菜单没有导入... ,并在新建... 还有没有。

解决方案

转到您的形象的窗口,那么preSS Ctrl + C或点击鼠标右键复制

去你的资源文件夹并选择一个文件夹(例如,MDPI,华电国际..)和preSS CTRL + V或右键单击它并粘贴

WORD文档中复制QQ空间的图片无法显示,但是复制网上的相片都可以显示为什么呢

I can save all my images directly in the res/drawable-xxx folder.

But how can I import/copy images to my project from Android Studio?

If I drag an drop my images from the Finder (MacOS), the files only move to the res folder.

At in the context-menu there is no Import... and under New... there is also not.

解决方案

Go to your image in windows, then press ctrl + c OR Right click and Copy

Go to Your res Folder And choose One of the folders(eg. MDPI, HDPI..) and press ctrl + v OR right click it and Paste