Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Image of my app appears when I click on options menu.

JPHochbaumJPHochbaum USMember ✭✭✭

When I click on my options menu in my action bar, an image of my app (main view) appears instead of the items in action_menu.xml. I've been struggling to understand why this might be happening. Perhaps it is an Inflater?

public override bool OnCreateOptionsMenu(IMenu menu) { MenuInflater.Inflate(Resource.Menu.action_menu, menu); return base.OnCreateOptionsMenu(menu); }

Here is my Toolbar

` <


action_menu.xml for options menu

<item android:id="@+id/logout" android:title="Logout" android:showAsAction="never"></item> <item android:id="@+id/account" android:title="Account" android:showAsAction="never"></item> `

It is probably difficult to grasp what I am trying to convey here so if you don't understand please ask and I will try better to explain.


Sign In or Register to comment.