Android : PopupWindow update() animation

on Thursday, August 14, 2014


Is there a way to animate PopupWindow wnen issuing update() method? I'm changing my popup's position there, so it would be nice if I could smoothly slide the popup to its destination instead of just "jumping". I know I can easily animate the PopupWindow's entering and exiting via adding these items to its style:



<style name="MyPopup">
<item name="@android:windowEnterAnimation">@anim/slide_in_right</item>
<item name="@android:windowExitAnimation">@anim/slide_out_to_right</item>
</style>


But I'm interested in its position updating animation.


0 comments:

Post a Comment