Im trying to use the drawing cache functionality for Views, but
View.getDrawingCache() returns null! I have a View, which stores a
couple of other Views (note that I am Not using a Viewgroup, I store
the Views in an ArrayList). I make sure that measure(...) and layout
(...) is called on the child-views. I set setDrawingCacheEnabled(true)
on all the "children". But I still don't get a drawing cache for them.
The child-views are LinearLayouts with an ImageView inside, inflated
in code. Have I forgotten anything? What could the problem be?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to