Progress bars are used to show progress of a task. For example. When you are uploading or downloading something from the internet, it is better to show the progress of download/upload to the user.Now here am going to customize the progress bar
How to customize the progress bar?
To customize the progress bar we need to define the properties of progress bar which are defined in the xml file inside the drawable folder.
1.Open Eclipse IDE.
2.Click File -> New -> Project -> Android Application Project.
3.Enter the name of the application as CustomizedProgressbar and click next .
4.Make sure that you have enabled the create project in workspace.
5.Design application launcher icon and create a blank activity workspace and click finish
6.Create a folder drawable inside the res folder
7.Create a custom_progressbar.xml inside the drawable folder
The activity_main.xml looks as shown below:
Now Run the project and check the result ,the result will shown as below.