I need a layout where the children are moving and scaled dynamically
when I move my finger (almost like a Listview, but simply offsetting
the childrens' x/y coordinates won't suffice, they need to be scaled
aswell). Right now I'm calling layout(...) on each child every frame.
I think the performance is acceptable, the re-layouting usually takes
between 2-4 ms, which is well below 16 ms (needed for 60 fps
animations). However, is this the best way of doing it? A disadvantage
of this method is that I can't use the childrens drawing caches, which
would make the performance terrible if the children are "advanced"
Views.

Another way of doing it would be by changing the staticTransformation
of each child, every frame. Any thoughts by you guys?
--~--~---------~--~----~------------~-------~--~----~
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