If i start with

<drawable name="red_drawable">#f00</drawable>

the java code

Drawable d3 = activity.getResources().getDrawable(R.drawable.red_drawable);
Log.d("hw:",d3.getClass().getName());

will print

android.graphics.drawable.ColorDrawable

If that is true may the docs need to be updated.

Thanks
Satya

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