Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Notification over a toolbar item.

$
0
0

I have a toolbar in my Xamarin forms project. I require the following -
1. I need to display notifications on my toolbar items as in the image - .
2. I need to decrease space between the toolbar items and move them to right side.
3. I need to change the color of extreme right 3 dot icon from grey to white. Its coming by default when I am adding some items with ToolbarItemOrder as Secondary.
Image link - https://www.dropbox.com/s/54k4w594to4rbbl/toolbar.PNG?dl=0
Can anyone please suggest how can I fulfill this requirements. Sample code will be appreciable.

Here is my code -
this.ToolbarItems.Clear();
this.ToolbarItems.Add(new ToolbarItem("Home", "menu_dot", async () => { }, ToolbarItemOrder.Secondary));
this.ToolbarItems.Add(new ToolbarItem("My Account", "menu_dot", async () => { }, ToolbarItemOrder.Secondary));
this.ToolbarItems.Add(new ToolbarItem("My Profile", "menu_dot", async () => { }, ToolbarItemOrder.Secondary));
this.ToolbarItems.Add(new ToolbarItem("", "right_icon1.png", async () => {}, ToolbarItemOrder.Primary));
this.ToolbarItems.Add(new ToolbarItem("", "right_icon2.png", async () => { }, ToolbarItemOrder.Primary));
this.ToolbarItems.Add(new ToolbarItem("", "right_icon3.png", async () => { }, ToolbarItemOrder.Primary));

Thanks


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>