I have an xamarin.forms application and try to publish it in android. In my simulator, the color of the background is gray. On android mobile the background stays white like default. What do i wrong?
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns=http://xamarin.com/schemas/2014/forms
xmlns:x=http://schemas.microsoft.com/winfx/2009/xaml
xmlns:local="clr-namespace:MyApp"
x:Class="MyApp.MainPage"
BackgroundColor="#202020">
<StackLayout Style="{StaticResource mainBg}">
<ScrollView BackgroundColor="#202020">
<StackLayout Style="{StaticResource mainBg}">
<Frame HasShadow="True" Style="{StaticResource mainBgBorder}">
<StackLayout VerticalOptions="StartAndExpand">
<Image x:Name="imMyPicLogo" Source="MyPic.png" HeightRequest="50" HorizontalOptions="End"></Image>
</StackLayout>
</Frame>
</StackLayout>
</ScrollView>
</StackLayout>
</ContentPage>
