private ImageView mPalybillBg = null;
Animation animation = new TranslateAnimation(-295, 0, 0, 0);
animation.setDuration(500);
removeView(mPalybillBg);
mPalybillBg.setVisibility(View.VISIBLE);
AbsoluteLayout.LayoutParams alp= new AbsoluteLayout.LayoutParams(322, LayoutParams.WRAP_CONTENT, 905, 0);
addView(mPalybillBg, alp);
mPalybillBg.setAnimation(animation);
animation.start();
animation 的向左移和向右移动,相对位置.