Change color of progressbar

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

Sponsored Links

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

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. Passing messages between threads.

Hi Everyone,

Currently I have two threads, other than the UI thread, which need to
communicate with each other. Thread one needs to be able to send
messages directly to thread two, and vice versa. What is the best way
to implement this?

At the minute, my code looks like this:

runnable1 = new myRunnable();
runnable2 = new myOtherRunnable(runnable1);
sThread = new Thread(runnable1);

Then, inside runnable1, I've got:

public void run() {
        Thread otherThread = new Thread(runnable2);
        .....*snipped code*.....
        if (event){

Thread two is in a constant sleep loop, until he is interrupted, at
which point he'll check his message queue and act on it.


I feel like there should be a better way to do this - this looks
particularly messy to me:
"runnable1 = new myRunnable();
runnable2 = new myOtherRunnable(runnable1);

Add the fact I'm going to add a third thread that will also need to
send messages to and get messages from thread 2, which makes my head
near to exploding point thinking about it.

Should I be using callbacks/interfaces? Is there a good place to read
about this somewhere? I'm very new to this side of things really.

Many thanks,

2. file system


Ive just written my first "hello world" and its running fine on the
I guess its a stupid question but I cant find an answer in the net:

Ive written a programm helloWorld.apk and installed it with adb
install on the phone.

Were can I find this programm now in the file system?
And how can I get this programm starting just by typing helloWorld in
the shell?

I guess I could answer this question if my knowledge about linux were

thank you very much



3. Null Pointer Exception with getIntent().Extras....

4. Nexus bug

5. Access internet while bypassing permission check?

6. How much is the weight of the shipped box?

7. File System - Continue