android - Get ProgressBar object from ProgressDialog -


is there way can "mprogress" object progressdialog.java class?

i want set colour of indeterminate spinner white , keep same android style it. i've seen solutions using styling none have fit criteria. want same it, colour white.

the reason want mprogress object can use below code on it:

mprogressbar.getindeterminatedrawable().setcolorfilter(new lightingcolorfilter(0xff000000, 0xffffff)); 

found it!

progressdialog progress = new progressdialog(this); alertdialog alert = progress; // not sure if need bit, required   progressbar prog = (progressbar)progress.findviewbyid(android.r.id.progress); prog.getindeterminatedrawable().setcolorfilter(new lightingcolorfilter(0xff000000, 0xffffff)); 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -