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/
精彩评论