Demo entry 5865362

1

   

Submitted by anonymous on Aug 18, 2016 at 04:15
Language: C#. Code size: 565 Bytes.

using Android.App;
using Android.OS;

namespace ForHealthFormsShared.Droid
{
    // 1. MainLauncher 설정으로 시작 액티비티 선언, (MainActivity.cs 의 MainLauncher 는 제거함)
    // 2. Icon 설정
    // 3. NoHistory 설정으로 백버튼시 액티비티가 열리지 않도록 함
    [Activity(MainLauncher = true, Icon = "@drawable/icon", NoHistory = true)]
    public class SplashScreen : Activity
    {
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            SetContentView(Resource.Layout.SplashScreen);
        }
    }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).