Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9116897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T04:46:57+00:00 2026-06-17T04:46:57+00:00

How can i implement an activity indicator with bar style. As according to the

  • 0

How can i implement an activity indicator with bar style. As according to the following documentation http://developer.android.com/design/building-blocks/progress.html “Activity indicators are for operations of an indeterminate length.” and “Two styles are available: a bar and a circle. Each is offered in a variety of sizes, in both Holo Light and Holo Dark themes.” that’s fine but where can i get example of that… i really tried a lot but not able to find any single example. In short i just want to use the following activity indicator as shown in image.

enter image description here

plus i want to use this Activity indicator in notification as already shown in above image to show some progress if you can guide or provide example same as according to my scenario then it’ll be much better but at least guide me how can i show this view in my layout.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T04:46:58+00:00Added an answer on June 17, 2026 at 4:46 am

    After further search at last i found the answer…

    from xml

     <ProgressBar
        android:id="@+id/progressBar1"
        style="@android:style/Widget.Holo.ProgressBar.Horizontal"
        android:layout_width="100dp"
        android:layout_height="wrap_content"
        android:indeterminate="true" />
    

    from java you can simply set mode to indeterminate by using method

    ((ProgressBar) findViewById(R.id.progressBar1)).setIndeterminate(true);
    

    Actually the name Activity Indicator is confusing and other confusion in my mind was that the progressbar is different from the activity indicator but in actual both are same… only the difference is of their mode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The Android developer guide (http://developer.android.com/resources/tutorials/views/hello-tabwidget.html) states: `You can implement your tab content in one
I was following this example: http://developer.android.com/resources/tutorials/views/hello-autocomplete.html And I want to know how I can
Can someone please tell me how I can implement the following line of pseudo-code.
Could anyone tell me how to implement a marquee style progress bar in wxPython?
official android dev website says that:「You can implement your tab content in one of
Hi folks how I can implement a Broadcast receiver in an activity that receives
I have added custom field for my Contacts. It consists of: <ContactsSource xmlns:android=http://schemas.android.com/apk/res/android> <ContactsDataKind
I can implement both variants - it's easy. But I'm interested: what approach is
How can implement reordring in winforms datagridview by using the feature of drag and
Anyone knows how i can implement re-arrangable divs (Drag the divs around on the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.