Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Easy way to change ProgressBar standard color scheme in Mono for Android?

$
0
0

I am looking for a way to change the tint and background colors of a standard android ProgressBar in Xamarin Studio. Found some tips for how this is done in java like this:

myprogress.setBackgroundDrawable(c.getResources().getDrawable(R.drawable.progress)); But I couldn't figure out how to use this in Xamarin. I have also seen the pretty large xml files, making gradient backgrounds. But shouldn't there be an easy way to just change the colors without any gradient?


Viewing all articles
Browse latest Browse all 204402

Trending Articles