I'm trying to call setProgressDrawable
on a ProgressBar
in my RemoteViews
However there doesn't appear to be a setDrawable(<view_id>,<method>,<value>)
method on RemoveViews
I've tried setBitmap
but setProgressDrawable
takes a Drawable
not a Bitmap
and setInt
doesn't work either.
I wanted to avoid having loads of different widget layout xml files just to handle different color progress bars.