比如有时候我想旋转一个PopupWindow,这个popupwindow 里头即有text view,又有image view,我使用RotateAnimation还做旋转,可是没有什么用。不知道是PopupWindow不能做成animation效果,还是我的代码有问题。代码如下,先谢过mPopView = parentActivity.getLayoutInflater().inflate(R.layout.my_popup, null); 
mPopupWindow = new PopupWindow(mPopView,200,LayoutParams.WRAP_CONTENT);
mPopupWindow.setTouchable(true);
mRotateAnimation = new RotateAnimation(0,90);
mRotateAnimation.setDuration(10);
mRotateAnimation.setFillAfter(true);
mPopupWindow.showAtLocation(parent, gravity, x, y);
mPopView.startAnimation(mRotateAnimation);