is there any way to change the default tint color using progress bar in xamarin forms . if not how would I create a droid custom renderer for this.
the picture shows a slider but what I am looking for is something similar in a progress bar .
Asked
Active
Viewed 2,258 times
0

Pxaml
- 651
- 2
- 12
- 38
-
1Do you try https://forums.xamarin.com/discussion/28894/progressbar-color-in-xamarin-forms – Artem Tishchenko Jan 12 '18 at 07:17
-
Did you want to change only background color for progressbar ? – W0RT4 Jan 12 '18 at 12:36
-
yes , the inside only because is blue by default and I need it white. Thanks for reply – Pxaml Jan 12 '18 at 16:22
1 Answers
0
Not sure if I get it right, but if you want to change the ProgressBar background color, you can do it on your pcl project by accessing ProgressBar BackgroundColor property, like this:
var progressBar = new ProgressBar
{
BackgroundColor = Color.White
};
But if you want to change progressbar's tintcolor on Android platform, an easy way would be changing styles.xml colorAccent value. As you can check by its comment:
colorAccent is used as the default value for colorControlActivated which is used to tint widgets

adriano braga
- 1
- 1
-
yes , indeed. I would like to change the tint in android and ios .Thanks ! – Pxaml Mar 03 '18 at 21:05