This article will show you how you can set the default activity android using xamarin in c# for your android application.
For for this we need to add the below mention attribute to your activity class file as an attribute.
Please check the above attribute MainLauncher=true. So in this case you need to make MainLauncher=False for other Activity files.
For for this we need to add the below mention attribute to your activity class file as an attribute.
[Activity(Label = "Activity1", MainLauncher = true, Icon = "@drawable/icon")]
public class Activity1 : Activity
|
Please check the above attribute MainLauncher=true. So in this case you need to make MainLauncher=False for other Activity files.
0 comments:
Please let me know your view