dewango / BottomNavigationBarXF

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

Tab Color only works with 4+ tabs. #27

Open elyfran opened 7 years ago

elyfran commented 7 years ago

Less than 4 tabs the function to set color does not work.

angelru commented 7 years ago

any solution ?

Im-PJ commented 7 years ago

Any solution for this? I don't this library is being maintained now :(

andrekiba commented 7 years ago

Any news?

angelru commented 7 years ago

no news :(

Sme90 commented 7 years ago

To change it, you'll have to change the variable in the BottomNavigationBar's BottomBar.cs file. The variable in question is private int _maxFixedTabCount = 3;, you'll need to change it to 2, 1, or 0. Then recompile, add the DLL to BottomNavigationBarXF, and then recompile this one, and add the DLLs to your Forms project.

bruce-willis commented 7 years ago

@sme90 variant with DLL is good, but u can also create local nuget package: just type nuget pack in the root folder and use it. How to install local nuget package