Problem with backwards compability


I have written an Application using xaml forms and PCL. However I needed to do some custom renderers. These worked great until a friend of mine tested on older hardware. Now, the project is using the default settings and should have support to android 4.0.0 but 4.4.0 does not work.

The line giving problems is:
Control.ProgressTintList = Android.Content.Res.ColorStateList.ValueOf(Color.FromHex("#3fcf31").ToAndroid()); //Change the color

The crash says that the "ProgressTintList" does not exist. Any ideas why this happens? It should be supported, right? Workarounds are also appreciated!

Sign In or Register to comment.