• Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying custom progress bars  RSS feed

 
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 ?
 
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..
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!