Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

How to change the Status Bar Style ?

I've a Page and from that page I just jump to other page like Page 1====>Page 2
by using that code ...

            NavigationPage ppNav = new NavigationPage(new HtmlPage("PrivacyPolicy.html", Constants.PRIVACY_POLICY, true));
            ppNav.BarTextColor = Color.White;

Well I want a White Status Bar Icon in my app.
The problem is when I set BarTextColor to white then every thing works perfect but the Navigation Bar Title turns White and when I set BarTextColor to some other color then the status bar changes to black color .. What's the solution of this ? Also don't say to use a PushAsync...

Best Answers


Sign In or Register to comment.