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

BarTextColor on NavigationPage doesn't work on Android

$
0
0

Hi,

When I'm using Xamarin Android Player with the Nexus 5 Kitkat for debugging, the following code works.
When I'm using Xamarin Android Player with the Nexus 5 Lollipop for debugging, the following code doesn't work.

      var page  = new NavigationPage (new ActiviteitListView ());
      page.BarBackgroundColor = Color.FromHex ("fffff0");
      page.BarTextColor = Color.FromHex("000000");
      MainPage = page;

The bar will have the color of #fffff0, but the text remains white instead of black.
Any thoughts?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>