好的,我有一个视图,使用以下代码进行动画处理:
RelativeLayout rl = (RelativeLayout) findViewById(R.id.productPage_parentLayout_RL);
ImageView iv = new ImageView( ProductPage.this );
imageLoader.DisplayImage(FULL_PRODUCT_INFO.getFirstImage(), iv);
Animation animation = new TranslateAnimation(0, helper.getDeviceWidth() - 100,0, 0);
animation.setDuration(1000);
animation.setFillAfter(true);
rl.addView(iv);
使用这段代码,视图从屏幕的左侧开始移动到接近屏幕的末尾,但我还想在最后淡出视图并隐藏/销毁它。我试着搜索任何相关的内容,但找不到任何信息。感谢您提供的帮助。