Hi.

I'm playing with the Home sample (the one that is bundled with the
SDK)

I can change the Home screen background using this:


getWindow().setBackgroundDrawable(image_mountain);

Now I have a mountain as a background of my Home screen.

Now let's assume I have a picture of a moon. (image_moon)



Question: Is it possible to...

1. programmatically put the moon on my mountain image.
2. then set the new drawable: "Mountain with the Moon on top" as my
Home screen background?

I've explored the LayerDrawable class but it doesn't seem to solve my
problem.

Thank you in advance.


--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to