Hi,
I am doing a similar thing. But I need to do that to a ViewGroup.
But what I find out is I see everything exception the background of my
ViewGroup.
Can you please tell me why? or if background drawable of ViewGroup is
painted differently?
Thank you.
On Fri, May 1, 2009 at 12:42 PM, dan ra
Romain : however the drawing cache (or the code snippet i pasted before)
will not work if the View has SurfaceView as its child
On Thu, Apr 30, 2009 at 3:48 PM, Romain Guy wrote:
>
> You can also use the View's drawing cache API.
>
> On Thu, Apr 30, 2009 at 3:38 PM, dan raaka wrote:
> > Bitma
You can also use the View's drawing cache API.
On Thu, Apr 30, 2009 at 3:38 PM, dan raaka wrote:
> 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
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 wrote:
>
> Hi,
>
> I need to somehow get a drawable of the contents of a Layout, once I
4 matches
Mail list logo