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
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"
>
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 :)
--~--~-~--~~~---~--
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
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
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
6 matches
Mail list logo