Xamarin.Andrind 设置页面启动项

在Activity中添加 MainLauncher = true即可设置启动页

 
  
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;

namespace App2
{
    //在此处添加 MainLauncher = true 即可设置启动页
    [Activity(Label = "Activity2", MainLauncher = true)]
    public class Activity2 : Activity
    {
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            // Create your application here
        }
    }
}

}
}

你可能感兴趣的:(Xamarin,Android)