---
title: "androidSDK下的图片资源"
author: "Hit_me"
date: "2015-04-04T15:14:01Z"
tags: []
categories: ["移动开发"]
slug: "androidsdk"
draft: false
lastmod: "2015-04-04T15:14:01Z"
id: 2199342
url: "https://hit-me.iteye.com/blog/2199342"
---

android SDK系统图片资源的路径是：E:\\Android\\adt-bundle-windows-x86\_64-20130917\\sdk\\platforms\\android-14\\data\\res\\drawable-mdpi  大家都懂的，不多说了。

另外补充一点，如何在XML里获得系统的图片：

 android:icon="@android:drawable/ic\_menu\_add" 这是menu的例子，如果是buttom或者imageview等就将 icon换成android:background或android:src吧,有基础的都明白。