On Monday, September 12, 2011 3:18:24 PM UTC+8, Romain Guy (Google) 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 id
Hi Romain,
Has this been changed or are the docs incorrect?
http://developer.android.com/guide/topics/graphics/2d-graphics.html#drawables-from-xml
Any Drawable subclass that supports the inflate() method can be defined in
XML and instantiated by your application.
Thank you!
--
You received t
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.
On Sun, Sep 11, 2011 at 5:00 AM, Jean
3 matches
Mail list logo