in xml its android:background="@drawable/background"
or in the oncreate for your canvas call setBackgroundREsource
(R.drawable.background);

i think :)

On May 29, 2:16 am, Saurav Mukherjee <to.saurav.mukher...@gmail.com>
wrote:
> i have a custom view on which i have drawn some lines(to represent a grid)
> i want to use it as a background to another view!!!
--~--~---------~--~----~------------~-------~--~----~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to