dewango / BottomNavigationBarXF

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

center icon vertically #28

Closed angelru closed 1 year ago

angelru commented 7 years ago

Hello,

How to center icon vertically ?

image

regards.

ahmad-raza commented 7 years ago

BottomNavigationBarXF doesn't support it yet. You can do it in fixed_mode by updating your icon image actually. Add some transparent space at the top of the icon. It would looks like it is centered. I've achieved it by this approach in couple of application.

For example: see the tab icon below: ic_home