Bitmap b = Bitmap.create( ....); Canvas c = new Canvas(b); your_view.draw(c); use b to in setDrawable else where
there are missing lines, but you should get the idea Dan On Thu, Apr 30, 2009 at 2:23 PM, Moto <medicalsou...@gmail.com> wrote: > > Hi, > > I need to somehow get a drawable of the contents of a Layout, once I > get that "drawable" I want to set it as a background on an empty > layout.... > > How can I go about doing this? > > Thanks! > Moto! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---