c# - XAML - extra space under menu items in app bar -
whenever added menu items in app bar, line or space coming under menu items. don't know how remove it. disturbs lot. herewith have added menu image. kindly, me rid of space.
my xaml code:
<phone:phoneapplicationpage.applicationbar> <shell:applicationbar mode="default" opacity="1.0" ismenuenabled="true" isvisible="true"> <shell:applicationbariconbutton iconuri="/assets/folder.png" text="about" click="more1"/> <shell:applicationbariconbutton iconuri="/assets/next.png" text="goto" click="gotopage"/> <shell:applicationbar.menuitems> <shell:applicationbarmenuitem text="rate app" click="rateapp"/> <shell:applicationbarmenuitem text="like us" click="like"/> </shell:applicationbar.menuitems> </shell:applicationbar> </phone:phoneapplicationpage.applicationbar>
output app bar above code:
to knowledge, it's default behavior of application bar have space when there 2 or less menu items. can rid of space adding menu item (throw in or or something) have 3 menu items, or creating own application bar. second route seems overkill such small issue though.
Comments
Post a Comment