简体   繁体   English

从ecplise官方Android开发者网站下载的东西(图标,颜色,模板在.rar文件中)

[英]where to put stuffs(icons, color, stencils in .rar file) downloaded from official android developers site in ecplise

I'm pretty new to android. 我对android很新。 I stuck at a point where I need to add a downloaded .rar file for icons, stencils and color swatches into Eclipse (the RAR file has been downloaded from official android developer site.here is the link ). 我陷入了一个需要将图标,模板和色板的下载.rar文件添加到Eclipse中的点(RAR文件已从官方android开发者网站下载。这是链接 )。

Is there any way to directly copy and paste in ADT bundle root folder and use it or we have to do it by copying and pasting into the drawable folder each of the required itens? 有没有办法直接复制和粘贴ADT捆绑根文件夹并使用它或我们必须通过复制并粘贴到drawable文件夹中的每个所需的itens?

Put it in the "res" folder of your android project. 把它放在你的android项目的“res”文件夹中。 Just drag and drop (or copy past) an image in the "drawable" folder. 只需在“drawable”文件夹中拖放(或复制过去)图像即可。

You have to do that for each item. 您必须为每个项目执行此操作。

If you have different size for an image you can put the ressources of your image in those folders: "drawable-hdpi", "drawable-ldpi" and "drawable-mdpi". 如果图像的大小不同,可以将图像的资源放在这些文件夹中:“drawable-hdpi”,“drawable-ldpi”和“drawable-mdpi”。

Each folder represent a screen size for your device. 每个文件夹代表您设备的屏幕尺寸。 Note that each ressource must have the same name (Eclipse should manage it). 请注意,每个资源必须具有相同的名称(Eclipse应该管理它)。

You can do it for all the images by copying the images CTRL + C then in Eclipse select drawable(hpdi,...) folder, right click -> Paste 您可以通过复制图像CTRL + C然后在Eclipse中选择drawable(hpdi,...)文件夹,右键单击 - >粘贴,对所有图像执行此操作

Or 要么

1 - Extract the RAR file 1 - 提取RAR文件

2 - Store the contents of the extracted folder in ZIP format 2 - 以ZIP格式存储解压缩文件夹的内容

3 - Right click (the project) -> import -> General -> Archive File 3 - 右键单击​​(项目) - >导入 - >常规 - >存档文件

4 - Move the imported content to the required res folder (drawable ,drawable-hpdi,...) 4 - 将导入的内容移动到所需的res文件夹(drawable,drawable-hpdi,...)

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

相关问题 你在哪里把下载的文件放在android中 - Where do you put downloaded filed in android 如何从下载的源代码中遵循官方的Android日历应用程序? - How to comply official android Calendar app from downloaded source? 在Android中解压缩Rar文件 - Decompress Rar file in Android 在Android中,从Firebase存储下载的文件存储在哪里? - In Android, where does the file downloaded from Firebase storage get stored? 适用于XXHDPI和XXXHDPI的Android官方图标 - Android Official Icons for XXHDPI and XXXHDPI 来自Android开发人员网站Ubuntu 12.04的Android Eclipse Juno或ADT - Android Eclipse Juno or ADT from Android developers site Ubuntu 12.04 如何通过命令行工具从Android中的rar文件中提取文件 - How to extract files from rar file in Android by command line tool 有人向我解释了来自 android 开发者网站的代码 - somebody explain to me code from android developers site 在android上保存从服务器下载的文件的位置 - where on android to save files downloaded from server 我在 android 工作室中遇到了这个问题。我已经下载了链接中提到的文件,在哪里粘贴这些文件 - I'm facing this problem in android studio.I have downloaded the files mentioned in links, where to put paste those file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM