Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying custom progress bars

 
ajay chawda
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Activity.requestWindowFeature(Window.FEATURE_PROGRESS) gives the default progress bar .

Is it possible to customise it by adding some text or image ?
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, take a look at android.app.ProgressDialogclass and also APIDemos for hints.
The ProgressDialog class has a method called addViewContent which you can use to add custom Views.

Hope that helps..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic