Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying custom progress bars  RSS feed

 
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
Boost this thread!