开发者

How to use Android-provided graphics in an application?

I remember seeing how to do this somewhere, but I'm totally drawing a blank right开发者_JAVA技巧 now. I'd like to use the Android "Refresh" graphic in my application, how do I reference it? Is there a chart somewhere of all graphics which are provided?


Easiest way is to look in your Android SDK location (on my machine, that is *C:\projects\android\android-sdk-windows-1.5_r1*): in the platforms folder is a separate directory for each version of Android. Pick your version of choice and then open the *data\res* folder: there will be a number of drawable folders with the platform graphics.

Go wild copying them into your own app.


I think this might be what you're looking for: http://androiddrawableexplorer.appspot.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜