ProgressBar


 

  1. ProgressBar Horizontal
  2. Progressbar Circular
  3. ProgressBar Intermediate
  4. ProgressBar at Title
  5. Dynamic ProgressBar Horizontal
  6. Dynamic ProgressBar Circular
  7. Custom ProgressBar Horizontal
  8. Custom ProgressBar Circular

 

1. ProgressBar Horizontal

Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, create “Blank Activity” and click “Finish” button.

Step 2 : Open res -> layout -> activity_main.xml and add following code :

Step 3 : Open src -> package -> MainActivity.java and add following code :

Step 4 : Open AndroidManifest.xml and add following code :

ScreenShot:

pro_hori pro_hori2

Download_button

 

2. ProgressBar Circular
Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, create “Blank Activity” and click “Finish” button.
Step 2 : Open res -> layout -> activity_main.xml and add following code :

Step 3 : Open src -> package -> MainActivity.java and add following code :

Step 4 : Open AndroidManifest.xml and add following code :

ScreenShot:

pro_circle pro_circle2

Download_button

 

3. ProgressBar Intermediate
Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, create “Blank Activity” and click “Finish” button.
Step 2 : Open res -> layout -> activity_main.xml and add following code :

Step 3 : Open src -> package -> MainActivity.java and add following code :

Step 4 : Open AndroidManifest.xml and add following code :

ScreenShot:pro_hori_inter

Download_button

 

4. ProgressBar at Title
Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, create “Blank Activity” and click “Finish” button.
Step 2 : Open res -> layout -> activity_main.xml and add following code :

Step 3 : Open src -> package -> MainActivity.java and add following code :

Step 4 : Open AndroidManifest.xml and add following code :

ScreenShot:

pro_title pro_title2

Download_button

 

5. Dynamic ProgressBar Horizontal
Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, create “Blank Activity” and click “Finish” button.
Step 2 : Open src -> package -> MainActivity.java and add following code :

Step 3 : Open AndroidManifest.xml and add following code :

ScreenShot:dy_prog_bar
Download SourceCode

 

6. Dynamic ProgressBar Circular

Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, create “Blank Activity” and click “Finish” button.
Step 2 : Open src -> package -> MainActivity.java and add following code :

Step 3 : Open AndroidManifest.xml and add following code :

ScreenShot:
dy_prog_circle
Download SourceCode

 

8. Custom ProgressBar Horizontal
Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, create “Blank Activity” and click “Finish” button.
Step 2 : Open res -> layout -> activity_main.xml and add following code :

Step 3 : Open res -> drawable -> Create new xml, style_horizontal.xml and add following code :

Step 4 : Open src -> package -> MainActivity.java and add following code :

Step 5 : Open AndroidManifest.xml and add following code :

ScreenShot:

custom_hori_bar2 custom_hori_bar

Download SourceCode

 

7. Custom ProgressBar Circular
Step 1 : Select File -> New -> Project -> Android Application Project. Fill the forms, create “Blank Activity” and click “Finish” button.
Step 2 : Open res -> layout -> activity_main.xml and add following code :

Step 3 : Open res -> drawable -> Create new xml, style_circle_fill.xml.xml and add following code :

Step 4 : Open res -> drawable -> Create new xml file, style_circular_indeterminate.xml and add following code :

Step 5 : Open src -> package -> MainActivity.java and add following code :

Step 6 : Open AndroidManifest.xml and add following code :

ScreenShot:

custom_circle_bar2 custom_circle_bar

Download SourceCode