title: How to change background color of navigation Titleview - Xamarin Forms?
body: <p>This is my first time using navigation title view. The issue I have is the background of the navigation bar in Android is different from the one in iOS. I want to set the color of the background to white so it's the same for both iOS and Android. Any suggestions how to do it. I have included the code and images below</p>
  <p>XAML code</p>
  <pre><code>    &lt;NavigationPage.TitleView&gt;
      &lt;Label           FontSize=&quot;25&quot;
                       TextColor=&quot;Black&quot;
                       VerticalOptions=&quot;CenterAndExpand&quot;
                       HorizontalOptions=&quot;CenterAndExpand&quot;
                       HorizontalTextAlignment=&quot;Center&quot;
                       FontFamily=&quot;PatrickFont&quot;&gt;
                  &lt;Label.FormattedText&gt;
                      &lt;FormattedString&gt;
                          &lt;Span Text=&quot;Number&quot;/&gt;
                          &lt;Span Text=&quot;Generator&quot; TextColor=&quot;Red&quot;/&gt;
                      &lt;/FormattedString&gt;
                  &lt;/Label.FormattedText&gt;
              &lt;/Label&gt;
  &lt;/NavigationPage.TitleView&gt;
  </code></pre>
  <p>CS code</p>
  <pre><code>private void InfoIconCommandExecute(object obj)
  {
     App.Current.MainPage.Navigation.PushAsync(new InfoPage());
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/y9uHL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y9uHL.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/KfNCO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KfNCO.png" alt="enter image description here" /></a></p>