Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
c-lamont opened this issue Feb 8, 2018 · 3 comments

Comments

@c-lamont
Copy link

c-lamont commented Feb 8, 2018

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

Setting it in the code behind does work.

@c-lamont c-lamont changed the title Setting BarTextColor and BarBackgroundColor in xaml has no effect in Android Setting BarTextColor and BarBackgroundColor in xaml has no effect in Android Feb 8, 2018
@EmmanuelVmb
Copy link

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
Copy link
Author

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

@charmerppp
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants