Re: [android-developers] RenderScript Carousel Custom View

2012-03-09 Thread Romain Guy
Hi, You are trying to load an XML layout file as a bitmap, this is not going to work :) Renderscript is not meant to display XML layouts. On Fri, Mar 9, 2012 at 2:57 AM, Kubilay D. Yılmaz wrote: > I have found many example related with RenderScript Carousel and their user > experience is greater

[android-developers] RenderScript Carousel Custom View

2012-03-09 Thread Kubilay D . Yılmaz
I have found many example related with RenderScript Carousel and their user experience is greater than widget.Gallery. However, I would like to put some layouts inside RenderScript Carousel but cannot. For e.q. in below code, all parameters are not null but Allocation.createFromBitmapResource throw