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. How can I use VideoView to streaming without buffering?

I have a question.
When I use the VideoView to play the RTSP streaming, the VideoView
will buffering some cache buffer.
Is there any method to tell the VideoView DON'T buffer?

My code:
String VideoUri = "rtsp://192.168.5.121:6666/live/h264";
mVideoView = (VideoView) findViewById(R.id.video_view);
mVideoView.setVideoURI(Uri.parse(VideoUri));
mVideoView.start();

Is anybody help me?
Thanks.

-- 

2. Adding scrollbars in a Custom View

Hi,

I am working on adding vertical and horizontal scrollbars in a custom
drawn View. I have overridden the compute*ScrollOffset,
compute*ScrollRange, etc methods and have enabled the scrollbars by
called set*ScrollBarEnabled. However, I do not see the scrollbars in
my View, even after a call to scrollBy, which according to the
documentation calls awakenScrollbars (I assumed awakenScrollbars is
not required as the scrollbars do not auto-fade -
isScrollbarFadingEnabled returns false).
Does anyone have a sample with scrollbars in a custom view which they
can share? Or provide any pointers as to how this should be fixed?

Any help would be appreciated.
Thanks!

-- 

3. IllegalMonitorStateException on 'object.wait()' call randomly

4. What happens with the registered broadcast receivers after the application is killed?

5. How to import music into Android library

6. geo fix in emulator - strange pattern in gps fix timestamps

7. Android device VID/PIDs