0

I have changed the Xamarin.Forms TabbedPage's BottomNavigation Bar's (android) Selected Tab's icon with a CustomRenderer to a multi colored version of the icon that appears when not selected. But because of there is a default SelectedBarItemColor for that icon, it takes SelectedBarItemColor instead of it's original color. How can I keep the icon's original color and get rid of that SelectedBarItemColor ?

enter image description here

4

1 回答 1

0

我可以通过在我的 CustomRenderer 中添加以下行来解决此问题

bottomNavigationView.ItemIconTintList = null;
于 2020-08-27T03:49:37.087 回答