i'm ne in android, i make an animation by override setContentView in one activity (only one activity). i try this one and it work :
@Override
public void setContentView(int layoutResID) {
LayoutInflater inflator=getLayoutInflater();
View view=inflator.inflate(layoutResID, null, false);
view.startAnimation(AnimationUtils.loadAnimation(this, android.R.anim.slide_in_left));
super.setContentView(view);
}
the problem is when the animation run, there a white background. how to avoid the white background (i want to show the current view instead of white background when the animation run).
thanks in advance.