android - Change horizontal progress bar indeterminate color -


is possible change horizontal indeterminate color? of take standard theme color.

i change orange?

i know have change circle color not sure change horizontal color tried theme, custom progress bar in drawable etc couldn't work.

here xml:

<progressbar    android:id="@+id/status_progress"    style="?android:attr/progressbarstylehorizontal"    android:layout_width="match_parent"    android:layout_height="15dp"    android:layout_below="@id/status_text"    android:indeterminate="true"    android:indeterminateonly="true" /> 

progressbar.getindeterminatedrawable()     .setcolorfilter(progressbar.getcontext().getresources().getcolor(<colorid>),         porterduff.mode.src_in); 

Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -