I tried to put an animation in my Android activity meanwhile the result isn't what I expected.In my XML, I got a ProgressBar which visibility is set to GONE.I would like display the progressbar from to top of the parent layout by translation. I did somethiong like that rogressBar.setVisibility(View.VISIBLE);progressBar.startAnimation(