Ok, so I have a View where it animates with the following code:
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);
With this code, the view starts on the left side of the screen and moves almost to the end of the screen, but I also want to fade the view and hide / destroy it at the end. I tried to find anything related to this, but could not find.
Any help is appreciated.
source share