hunterp hunterp - 4 months ago 11
Android Question

How can I access all drawables in android?

Only some drawables are accessible via the


<ImageButton
src="@+android:drawable/

syntax. For example expander_ic_maximized is not accessible, yet its clearly at
http://androiddrawableexplorer.appspot.com/

its so frustrating to have to download the drawables and manually put them in my drawables folder....any ideas how to get around this???

Answer

Android SDK has all images unpacked in the %SDK-FOLDER%/platforms/android-*/data/res/drawable-* folder. Just pick desired file and put it into your app resource.