Not all resources in the framework are available to applications.  There is
a public.xml file that lists the ones that are in the public SDK.

On Sun, Apr 4, 2010 at 10:46 AM, rnstewart <rnstew...@gmail.com> wrote:

> I'm trying to understand the whole android.R structure, and it would
> be nice if I knew where the source of those resources is.
>
> I assume that, like the R object in my own project, it is built from a
> resources directory somewhere on my system. That directory should
> contain the drawables, layouts, values and whatever other files are
> used to create this object. But I'm not sure where to find it.
>
> I thought that I had found it when I went to /usr/lib/android-sdk-
> linux_86 (where I have the SDK installed on my computer), and found
> the "platforms" directory. In that path, there is a directory for each
> platform installed in the SDK, and under each of those directories
> there is a "data/res" directory that contains drawables, layouts, etc.
> But the contents of those directories don't match what is available in
> the android.R object while I am developing. For example, under
> android-1.6/data/res/drawables, I see the following dialog icon
> images:
>
> ic_dialog_alert.png
> ic_dialog_dialer.png
> ic_dialog_email.png
> ic_dialog_info.png
> ic_dialog_map.png
> ic_dialog_menu_generic.png
> ic_dialog_time.png
> ic_dialog_usb.png
>
> But the only android.R drawables available to me in my applications
> are:
>
> ic_dialog_alert.png
> ic_dialog_dialer.png
> ic_dialog_email.png
> ic_dialog_info.png
> ic_dialog_map.png
>
> Does anyone know what's going on? Is something wrong with my SDK
> install, or is there another source of platform-level resources that I
> am not aware of?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Reply via email to