0
votes

I'm using tabbed page inside navigation page, which is inside MasterDetail.Detail. I've used following line of code. Detail = new NavigationPage(MyTabbedPage); But the color of the navigation bar is white !

Is there any way to change the color ??? Please Help.

2

2 Answers

0
votes
 NavigationPage navigationPage = new NavigationPage(mainPageView);
    navigationPage.BarBackgroundColor = MyNavigationBarBackgroundColor;
    navigationPage.BarTextColor = MyNavigationBarTextColor;
0
votes

This one helps you

App.xaml.cs

    public App()
    {
        InitializeComponent();

        MainPage = new NavigationPage(new LoginPage()) { 
            BarBackgroundColor = Color.FromHex("a9cd44"),
            BarTextColor = Color.Black
        };
    }