How to set an translate animation to a PopupWindow while it's location changed. I have search many articles but almost is about the show animation and dismiss animation.I used PopupWindow.update() but it just work without animation.How can i do that?here is my code:
if (mPopupWindow.isShowing()) {
mPopupWindow.update(x, y, -1, -1, true);
} else {
mPopupWindow.showAtLocation(parent, Gravity.NO_GRAVITY, x, y);
}