This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • 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..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!