1: Create anim folder in res. 2.Create rotate.xml file in anim https://gist.github.com/thanhnguyen9294/e158451b481dfb7a6772 And then Animation rotateAnimation = AnimationUtils.loadAnimation(this, R.anim.rotate); your_view.startAnimation(rotateAnimation);
No comments: