dewango / BottomNavigationBarXF

Bottom Navigation Bar for Xamarin Forms
MIT License
187 stars 97 forks source link

Setting BarTextColor and BarBackgroundColor in xaml has no effect in Android #92

Open c-lamont opened 6 years ago

c-lamont commented 6 years ago

Setting BarTextColor and BarBackgroundColor in xaml has no effect in Android.

Setting it in the code behind does work.

EmmanuelVmb commented 6 years ago

Also got this issue, it's fixed when I add 4 tabs to the tabbar, but when I add less items, it doesn't set the colors.

c-lamont commented 6 years ago

@eEmmanuelvmb I fixed it by creating my own custom tab bar. https://github.com/c-lamont/PXTabs

charmerppp commented 6 years ago

@eEmmanuelvmb set _bottomBar.MaxFixedTabCount = 0; in BottomBarPageRenderer.cs

// create bottomBar control _bottomBar = BottomNavigationBar.BottomBar.Attach (_frameLayout, null); _bottomBar.MaxFixedTabCount = 0; _bottomBar.NoTabletGoodness ();