Skip to content Skip to sidebar Skip to footer

Android - Animation Movement Of Container Does Not Correctly Update Contained Buttons Hitboxes

So I have an application running on Android 2.2 (on a HTC desire). When the user presses the menu key, my menus silkily slide in from top and bottom. This works just great. Or so I

Solution 1:

Android animations only shifts the pixels of the UI controls when you add animations to them. To actually update the layout after the animation, you should implement an animation listener and manually update the layout other wise the old layout will still remain with the only the pixels shifted.


Post a Comment for "Android - Animation Movement Of Container Does Not Correctly Update Contained Buttons Hitboxes"