On Fri, Feb 11, 2011 at 9:31 AM, Aaron Buckner <[email protected]> wrote: > Now as far as I can tell this isn't really supported as part of the > sliding drawer and I've pretty much worked out how to do it with > Translate animation however I have run into the problem with the > hitbox not following the animation, is there a straight forward way to > refresh the hitbox position or redraw the layout or do I need to > create a new layout and call it on completion?
You don't need to "create a new layout", but you do need to adjust your existing layout upon completion to make the new positioning rules stick. Here is an example: https://github.com/commonsguy/cw-advandroid/tree/master/Animation/SlidingPanel -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

