riwalk
riwalk

Reputation: 14223

Looking for image in android.R.drawable

I'm looking for a system-wide graphic that (I think) is in android.R.drawable. I am looking for this one:

Android Graphic

I realize that graphics differ between systems, however I am fairy sure that it is system wide because I have seen it in multiple programs.

I want to use the one Android provides so that my app looks good no matter what phone it runs on. Does anyone know where I can find that image to use in my program?

Upvotes: 4

Views: 3758

Answers (2)

Pascal MARTIN
Pascal MARTIN

Reputation: 401022

Taking a look at Android R Drawables, it seems it might be expander_ic_minimized.9

Upvotes: 6

alibi
alibi

Reputation: 866

You can find those images in the Android SDK directory under

platforms/android-X/data/res/drawable-Ydpi

where X is the version code of Android and Y is the resolution (l/m/h). Most images are in the mdpi folder.

It is recommended to copy the images to your App, as the Android developers do not guarantee that all images will be there in future releases.

The image you are looking for looks like

expander_ic_minimized.9.png

Upvotes: 6

Related Questions