using Android.App; using Android.Graphics.Drawables; using Bit.Android.Controls; using Bit.App.Controls; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; [assembly: ExportRenderer(typeof(ExtendedNavigationPage), typeof(ExtendedNavigationRenderer))] namespace Bit.Android.Controls { public class ExtendedNavigationRenderer : NavigationRenderer { protected override void OnElementChanged(ElementChangedEventArgs e) { base.OnElementChanged(e); RemoveAppIconFromActionBar(); } private void RemoveAppIconFromActionBar() { // ref: http://stackoverflow.com/questions/14606294/remove-icon-logo-from-action-bar-on-android var actionBar = ((Activity)Context).ActionBar; actionBar.SetIcon(new ColorDrawable(Color.Transparent.ToAndroid())); } } }