Is there a way to hide the App Icon in the ActionBar?
Just set the Icon Drawable for the ActionBar to Android.Resource.Color.Transparent
works great thank you
Where do you apply this?
I tried this but I'm most definitely wrong:
[Activity (Label = "MagiKlaim", Icon = Android.Resource.Color.Transparent, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation, Theme = "@android:style/Theme.Holo.Light")]
I hid it by making my icon a 1x1 transparent image. Quite the unclean coding there.
Simple add ActionBar.SetIcon(Android.Resource.Color.Transparent); inside OnCreate.
Thank you, it works! It wasn't explicit enough for a total beginner before.
Haha @VincentPoirier I did the same, i guess its a pretty clever trick
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies