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. everything in my Gallery stays dim?

I have a Gallery, to which I added the property
android:unselectedAlpha="0.5". When my app starts, the selected item
is opaque and the others are dim, but as soon as I move off the
originally selected item, I never get an item to go back to being
opaque/highlighted again, as in, no matter what I do, all the items in
my gallery stay dim, rather than the selected one ever highlighting.
Do I need to manually update the selected item with some event
listener?

thanks,
--dave
--~--~---------~--~----~------------~-------~--~----~

2. Converting class files to dex format at runtime

Hi,

is there a way to convert class files to the dex format on the fly on
android? i'm starting to build an application which relies heavily on
reflection for loading classes which are not known at build time.

I don't suppose there is functionality for this since Sun might deny
this sort of usage?

Cheers,
Stephan

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

3. Why are there no native international input soft keyboards in Android 1.5?

4. Problem with Reflection & Annotations!

5. 2way engine sample ap

6. Checkout iFarted its free!!!

7. how should I make an ImageView in a Spinner scale correctly?