Does anyone know the syntax for an XML file for a single bitmap
drawable resource? What I'm looking to do is "alias" a drawable in my
app. I have need for the same image with 2 different names, and rather
than including the image twice in my res/drawable directory, I'd
rather alias it (it's fairly large). In other words, instead of:

res/drawable/name1.png
res/drawable/name2.png

I'd like to have:

res/drawable/name1.png
res/drawable/name2.xml

where name2.xml looks SOMETHING like this:

  <?xml version="1.0" encoding="UTF-8" ?>
  <bitmap src="@drawable/name1" />

Is this possible? If so, any idea what the syntax should be? I can't
find it in the docs, and I've had no luck with trial-and-error.

Thanks,

String

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