Skip to content Skip to sidebar Skip to footer

Xamarin.forms : How To Add A Gradient Color For Tabbar

in xamrin froms app, we have a tabbar, we need to add some gradient color for that tab bar in both iOS and android devices. how can we that ?

Solution 1:

  1. Make a image with gradient color by your designer;
  2. The apply it to tabbar like:

    UITabBar.Appearance.BackgroundImage = image;

Official documents: https://developer.xamarin.com/api/type/UIKit.UITabBar+UITabBarAppearance/

Post a Comment for "Xamarin.forms : How To Add A Gradient Color For Tabbar"