[android-developers] Re: Adding image to Background:

2008-12-26 Thread Android
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 wrote: > Setting background Image to where? Application background or ImageView > background? Use ImageView.setBackgroundResource() ap

[android-developers] Re: Adding image to Background:

2008-12-22 Thread Emmanuel
In the xml layout file, add a android:background option, with the path to your background file : example : http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:background="@drawable/bubbles" >

[android-developers] Re: Adding image to Background:

2008-12-22 Thread Manjunath
Hi Diya, Can you be more clear on your questions please. Thanks & Regards Manjunath On Dec 22, 2:46 pm, "diya blore" wrote: > Hi All, > Can any one guide how to implement ,As Adding image to the background. > > -- > Thank's in adv. > Diya :) --~--~-~--~~~---~--

[android-developers] Re: Adding image to Background:

2008-12-22 Thread Sundog
View.setBackgroundResource() On Dec 22, 4:08 am, "diya blore" wrote: > Hi, > For an  Application background .. i need to add an image. > > > > > > On Mon, Dec 22, 2008 at 5:24 AM, sukumar wrote: > > > Setting background Image to where? Application background or ImageView > > background? Use Ima

[android-developers] Re: Adding image to Background:

2008-12-22 Thread diya blore
Hi, For an Application background .. i need to add an image. On Mon, Dec 22, 2008 at 5:24 AM, sukumar 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 ent

[android-developers] Re: Adding image to Background:

2008-12-22 Thread sukumar
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" wrote: > Hi All, > Can any one guide how t