Change Android ProgressBar Animation

To change a indeterminate progressbar style animation, simply use this drawable below, and rename it as progress_indeterminate.xml

<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="">
      <rotate android:pivotX="50%" android:pivotY="50%"
         android:fromDegrees="0" android:toDegrees="360"
         android:drawable="@drawable/progress_circular_indeterminate" />

* note the @drawable/progress_circular_indeterminate is pointing to your image file, you can change the name
To apply the Animation simply use this tag in the progress bar


Based on this link about progress dialog and other animation


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s