how to make a view drawable

by Saurav Mukherjee » Fri, 29 May 2009 15:16:53 GMT


Sponsored Links
 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!!!

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



how to make a view drawable

by schwiz » Fri, 29 May 2009 17:31:28 GMT


 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:16am, Saurav Mukherjee <to.saurav.mukher...@gmail.com>


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


Sponsored Links


Other Threads

1. App doesn't show for some phones

Hi all,

I have an app uses android SDK 1.5 (in the manifest.xml file, the
minSdkVersion is set to 2). Some of my users reset their phone or
bough a new one (like mytouch 3G through T-mobile), and they said they
won't be able to see my app in the Market. Did I miss something here?
Any help will be very appreciated.

-- 

2. Stand indosat android

Wah mantep nih... peep terus dong persiapan booth nya.. jadi kaya report
unofficial hehe..
Cia yooooo

--rc
cyanogenMod optimized 5.0.4.1 w/gapp
zImage-oc-uv-xtra .33 @1113ghz w/app2sd




Noted om Ichan

2010/3/2 Ryandi Ardin <kamikaze2...@gmail.com>


ya...ane blm pernah ikut ga...

 --

"Indonesian Android Community [id-android]"

3. Dont start an avd name associated with sdk 2.0

4. Creating a local repository.xml

5. How to change status bar position in android

6. Dont start an avd name associated with sdk 2.0

7. launching a daemon in init