Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Everything is described with examples in the manuals on the Xamarin website https://developer.xamarin.com/guides/android/user_...
The "top bar" is probably ActionBar (standard in Android) or Support ActionBar (from the AppCompat v7 library) in the case of Xamarin, most likely the first one, you can add buttons there in the method onCreateOptionsMenu
, override this method in your Activity, and either do inflate a ready-made XML layout of the menu type, or you add the element(s) manually using menu.add, look for C# examples using the onCreateOptionsMenu keyword, but as always, you should not rely on a weak Xamarin ecosystem, you should also look for examples in Java to translate them into C#.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question