It's a quick question you should be asking yourself. More useful than
doing it for you, I'll tell you how.

Go to your SDK. In the platforms directory, choose your platform
version. Inside there is a data directory, and inside that is the
system's res directory.

Go into the drawables/ directory (most actual images are in e.g.
drawables-hdpi/) and look there for what you want. This would probably
be a .9.png file; the part before that in the filename would be the
id.

But many images are actually referenced as part of selectors, etc.
These drawables are defined as .xml files in the drawables/
directory.  So sometimes you have to work backwards from the actual
image to find the appropriate xml file to find the ID you really want.

On Windows, you can choose a view for these directories that shows a
preview (icon) for each .png file. This makes it a lot easier to
locate what you're looking for.

Remember, these are accessed with android.R.drawable.<id>, rather than
your own, which are accessed with <your-apk-package-name>.R.<id>.

The other approach is that if you know a system layout that uses what
you're looking for, you can look at that layout and see the ID that
it's using.

On Apr 17, 9:30 am, Pinheiro <[email protected]> wrote:
> Hi!
> Quick question: what is the drawable ID of the handle for the
> application's SlidingDrawer used in the home screen?
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to