Categories
Programación

Change Color in TabBar for Xamarin.Forms Shell

One of the things I love about Shell in Xamarin forms is that it is really easy to Change Color in TabBar. Yeah, the one on the bottom. So let’s imagine you have some code like this.

It will loke like this by default:

TabBar in Default Color Blue for Xamarin Forms Shell

Now changing this is really simple using this tip.

Just add this lines to the Shell Xaml <TabBar
Shell.BackgroundColor=”#e9b1cd”
Shell.TabBarUnselectedColor=”White”
Shell.TabBarTitleColor=”#c3829e”>

And the result is this one.

TabBar in Pink Color for Xamarin Forms Shell

For more information on Xamarin Shell visit Microsoft documentation.

You can find more tips on this other page.

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *