Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Slider color question - Android looks different

$
0
0

I am utilizing the Slider control in Xamarin forms. The slider functions fine and looks correct in Ios but Android it appears the bar is greyed out and is difficult to see for users. Below is my xaml and a screenshot of the issue.

     <StackLayout Margin="10" Spacing="0" Orientation="Horizontal" Padding="0" VerticalOptions="Center" HorizontalOptions="FillAndExpand" BackgroundColor="#9dc2e0">
                <Slider MaximumTrackColor="White" MinimumTrackColor="White"   ThumbImage="car.png" Margin="0,0,5,0" HeightRequest="10"   x:Name="mileSlider" ValueChanged="SliderValueChanged"  Maximum="100" Minimum="10"  HorizontalOptions="FillAndExpand"></Slider>

       </StackLayout>

Here is how it looks in Android


Viewing all articles
Browse latest Browse all 77050

Trending Articles