Views inheriting from ListView will recycle views, they don't really hold 
all the view information in memory.
You could probably just inflate all the views into a LinearLayout and dump 
that to bitmap.

I think your best approach is traverse the data itself and inflate just one 
view at a time and dump those into the bitmap in the appropriate place... 
will probably be the easiest way to code what you want and probably also 
the best in memory consumption.

On Sunday, July 14, 2013 1:10:53 PM UTC+3, dashman wrote:
>
> I've got an ExpandableListView and would like to write
> the full view to a bitmap - not just a screenful.
>
> i.e. if the view has a 100 entries - write it out to a long bitmap.
>
> I'm using listview.draw(canvas) and it's set to a long/tall bitmap.
>
> The problem is the draw() function seems to write only a screenfuls
> worth (i.e. like a screenshot).
>
> How can I tell it to write out all the entries to the bitmap.
>
> Thanks.
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to