Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

BottomNavigationBar Cannot set background colour AND show Text

$
0
0

Probably more general that Xamarin, but I thought I would start here.

The source of this component is :
https://github.com/pocheshire/BottomNavigationBar

I have a bottom navigation bar with 4 tabs on.
I want to set the background colour to be the same regardless of selected tab
I want to show icon + text for all tab buttons regardless of whether they are selected or not.

The background colour defaults to White. The only way I can find to change it is to call SetActiveTabColor() for each Tab. This works but seems like overkill I should only need to set it in one place.

However I cannot show the text for all icons unless I call UseFixedMode();

However once UseFixedMode() is called, SetActiveTabColor no longer works and the I cannot then set the background colour - it defaults to white.

I have also tried SetBackgroundColor(), to no effect

What am I missing ?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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