Erm... I concede, this would create some security challenges, but it
is a pity there is such a limitation.
Being able to use custom drawables in the XML would certainly simplify
the life of a lot of developpers.

Thanks for your reply anyway.
JM

On Sep 12, 9:18 am, Romain Guy <[email protected]> wrote:
> Hi,
>
> Custom drawables are not allowed from XML, mostly for security reasons. XML
> drawables can be loaded as resources by other processes (including Launcher
> or the system process) and it would be a terrible idea to run random 3rd
> party code in these processes.

-- 
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