In all built-in layouts, the z-order is based on the index of the children. You can influence the z-order by overriding getChildOrder (see ViewGroup's documentation.) You can also use methods like bringToFront() or add/remove to move children around but these methods will cause relayouts.
On Fri, Sep 28, 2012 at 10:48 PM, John <j...@highvolumeseller.com> wrote: > How do you animate views around one another using the 3.0 animation > framework when you can't influence the Z-ORDER? If the layout of elements > isn't guaranteed and the z-order is based off the layout order, how can you > change the z-order to do effective animations? > > -- > 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 -- Romain Guy Android framework engineer romain...@android.com -- 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