make the object of the our view and set the background eg:
  view = new SampleView(this);
view1.setBackgroundResource(R.drawable.bg);

On Dec 22, 3:24 pm, sukumar <[email protected]> wrote:
> Setting background Image to where? Application background or ImageView
> background? Use ImageView.setBackgroundResource() api if u need to set
> it for ImageView.If it is for an entire actiivty, use view's canvas to
> set it.
>
> On Dec 22, 2:46 pm, "diya blore" <[email protected]> wrote:> Hi All,
> > Can any one guide how to implement ,As Adding image to the  background.
>
> > --
> > Thank's in adv.
> > Diya :)

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