Change color of progressbar

by vandy » Fri, 23 Apr 2010 08:03:51 GMT


Sponsored Links
 hi

Is there any way to change the color of indeterminate progressbar.

i made changes in the progress_indeterminate.xml and saved it my
projects drawable folder and tried to set
progressBar.setProgressDrawable(R.drawable.progress_indeterminate)

but still the color did not change. it uses the default color.

Any help on this?????????

--



Change color of progressbar

by Kumar Bibek » Fri, 23 Apr 2010 13:07:56 GMT


 Well, I guess, there's just not a single file/image which you need to
change. You will also need to change the background and other stuff.

This file must be referring to other internal drawables which you
would need to change.

Thanks and Regards,
Kumar Bibek



>


Sponsored Links


Change color of progressbar

by vandana toshniwal » Fri, 23 Apr 2010 15:02:36 GMT


 well, i made changes to the drawables that this
progress_indeterminate.xml uses, and included them in my projects
drawables, but still no luck..........





>>



Other Threads

1. Communications between Views

Here is my situation, my app has 3 views (say, A, B, and C). A creates
B and finishes itself. B creates C and B still alive.

1. So, if I click Home, the app is hidden, and then I start the app
again, C shows up. Is there a way for me to do to show A if I restart
the app? I tried to playwith the setting finishOnTaskLaunch, it helps
to show A, but if I click back button, A disappears but C shows up.
Any other way to do this? Or if I can use finishOnTaskLaunch setting
and when A comes up, it will search to see if B or C is still up, if
they are kill them. Is there a way to do this?

2. On C, I have a button say Quit, which kills C (finish()), but B is
still there. Is there a way for me to kill B as well? So, when quit is
clicked, all my app should shut down.

Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. Bundle Maximum Size

I am implementing notification handler which logs any changes in
content provider and it notifies Broadcast Receiver using custom
Intent on periodic basis.But problem here is from Provider to Receiver
all the values passed  through Bundle.
Is the above approach is the better way? Any other suggestions?

--~--~---------~--~----~------------~-------~--~----~

3. How do live folders register for change in content?

4. Java 1.6?

5. BT service/event loop after suspend/resume

6. Open an Existing Eclipse Project

7. Will android provide GPS application in the following version?