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

1.2.2.6238-pre1 TabbedPage Actionbar background color

$
0
0

when I change the tabs in TabbedPage , the background color of Actionbar back to default color。

the code is :

    var mainTab = new TabbedPage() { Children = { ViewFactory.CreatePage<FirstPageViewModel>(), new SecondPage(),            ViewFactory.CreatePage<ThirdPageViewModel>() }, Title = "MobileOffice" };
   var mainPage = new NavigationPage(mainTab) { };
        mainPage.BarBackgroundColor = Color.Blue;
        mainPage.BarTextColor = Color.White;
        return mainPage;

Viewing all articles
Browse latest Browse all 58056

Trending Articles



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