Adding image to Background:

by diya blore » Mon, 22 Dec 2008 17:46:21 GMT


Sponsored Links
 Hi All,
Can any one guide how to implement ,As Adding image to the  background.

-- 
Thank's in adv.
Diya :)

--~--~---------~--~----~------------~-------~--~----~



Adding image to Background:

by sukumar » Mon, 22 Dec 2008 18:24:04 GMT


 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.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Adding image to Background:

by diya blore » Mon, 22 Dec 2008 19:08:25 GMT


 Hi,
For an  Application background .. i need to add an image.







-- 
Thank's in adv.
Diya :)

--~--~---------~--~----~------------~-------~--~----~



Adding image to Background:

by Sundog » Tue, 23 Dec 2008 01:00:42 GMT


 View.setBackgroundResource()





--~--~---------~--~----~------------~-------~--~----~



Adding image to Background:

by Manjunath » Tue, 23 Dec 2008 01:51:58 GMT


 Hi Diya,
    Can you be more clear on your questions please.

Thanks & Regards
Manjunath




--~--~---------~--~----~------------~-------~--~----~



Adding image to Background:

by Emmanuel » Tue, 23 Dec 2008 08:51:11 GMT


 In the xml layout file, add a android:background option, with the path
to your background file :

example :
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=" http://schemas.android.com/apk/res/android" ;
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/bubbles"


Emmanuel
 http://androidblogger.blogspot.com/ 





--~--~---------~--~----~------------~-------~--~----~



Adding image to Background:

by Android » Sat, 27 Dec 2008 07:08:11 GMT


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





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Spinner in Android

Hello friends,

Is it possible to include Multiple rows of data with different font in
single row of spinner.

-- 
Thanks,
Jatin D N Patel
Masters, Computer Sci.
Suny Binghamton Univ, NY.

You Got To Think HIGH to RISE.

-- 

2. Intent from gmail app once contacts are synced.

Once logging in into the google account after all the contacts from
google server is synced is there any intent being broadcasted by the
google mail app which tells
that the google contacts are synced from the server?
Could someone provide some info on this...

-- 

3. full screen issues.

4. How to convert .swf to .apk ?

5. Always show notification bar

6. Android Device hooked up tot Terminal Server and printing

7. Minor typo in http://source.android.com/source/git-repo.html