加入9片图像到Android工作室 [英] Add 9-patch image to Android Studio

查看:116
本文介绍了加入9片图像到Android工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建使用简单九补丁生成。这将创建一个 RES -folder一个目录,包含文件夹中的每个像素密度版的形象。

I've created a nine-patch image using the Simple Nine-Patch Generator. This creates a directory with a res-folder, containing folders for each pixel-density-version of the image.

的Eclipse ADT 可以简单地拖放和放大器;在水库删除这些文件夹 -folder项目的。

In Eclipse with ADT one could simply drag & drop these folders in the res-folder of your project.

这似乎是一个没有脑子,但我如何添加这些生成的九片图像到Android工作室? 我使用的是Android 1.0.1工作室

This would seem like a no-brainer, but how do I add these generated nine-patch images to Android Studio? I'm using Android Studio 1.0.1.

推荐答案

如果你的问题是,你不能找到人的可绘制的,你可以eaisly从顶部左侧的项目结构中选择pakages那里你可以找到的资源文件夹你可以eailsy粘贴9路径相应的文件夹

If your problem is that you cant find were the drawables are you could eaisly select pakages from the top left side in the project structure there you can find the res folder and you could eailsy paste the 9 path in the corresponding folders

这篇关于加入9片图像到Android工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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