I would like to use the same color for the background of an area at the top of one of my screens.
Does anyone know how is this color decided. Is that something Xamarin preset or is it an iOS and Android present color?
They are defaults in each platform. Android via it's theme and iOS by default properties.
However if you want to change it, you can do this in your Xamarin.Forms project.
var tabbedPage = new TabbedPage()
{
BarBackgroundColor = Color.Black,
BarTextColor = Color.White
};
Or set those properties in XAML.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With