Hi,

I am trying expand/collapse animation in expandable listview but i am
stuck :(

i have two group each with some dynamic number of items.

so when first group expands, second group slides down (along with its
child items) smoothly and displays first group child items with some
alpha animation.

I got idea for this animation but i have to get bitmap for each (group
and child) and draw this bitmap on surfaceview canvas with some logic
but problem is how to get bitmap for group/child items .
I tried following and got first group bitmap :
View mView = mExpandableListView.getChildAt(0);
mView.setDrawingCacheEnabled(true);
mView.setDrawingCacheQuality(DRAWING_CACHE_QUALITY_HIGH);
Bitmap sweet = mView.getDrawingCache();

but how to get bitmap for particular group /child generically ?

Please help me with your valuable comments :)

Thanks and regards

-- 
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

Reply via email to