setContentView(R.layout.activity_shopcar_anim);
}
private void addToCarAnimation(ImageView goodsImg) {
final ImageView animImg = new ImageView(mContext);
animImg.setImageDrawable(goodsImg.getDrawable());
<BUG>RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(50, 50);
</BUG>
shellLayout.addView(animImg, params);
final int shellLocation[] = new int[2];
shellLayout.getLocationInWindow(shellLocation);

setContentView(R.layout.activity_shopcar_anim);
}
private void addToCarAnimation(ImageView goodsImg) {
final ImageView animImg = new ImageView(mContext);
animImg.setImageDrawable(goodsImg.getDrawable());
RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(100, 100);
shellLayout.addView(animImg, params);
final int shellLocation[] = new int[2];
shellLayout.getLocationInWindow(shellLocation);
