Forum Xamarin.Forms

Adding padding to Hamburger Menu Icon

anandjitbanerjee.5636anandjitbanerjee.5636 USUniversity ✭✭
edited August 2015 in Xamarin.Forms

We are using the master detail page to implement navigation drawer hamburger menu.Now we are styling the action bar in a native way using a theme.

<style name="CustomActionBarTheme" parent="@android:style/Theme.Holo.Light"> <item name="android:actionBarStyle">@style/MyActionBar</item> <item name="android:homeAsUpIndicator">@drawable/back</item> </style>' '<style name="MyActionBar" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse"> <item name="android:background">#06336E</item> </style>

However on using this the hamburger menu icon gets completely left aligned with absolutely no padding.I am unable to set a padding to it.
We are using the Icon property of the menu page to set the hamburger icon image.

Answers

Sign In or Register to comment.