protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);
			SetContentView (Resource.Layout.activity_main);

			var transaction = SupportFragmentManager.BeginTransaction ();
			var fragment = new FragmentTransitionFragment ();
			transaction.Replace (Resource.Id.sample_content_fragment, fragment);
			transaction.Commit ();
		}
示例#2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.activity_main);

            var transaction = SupportFragmentManager.BeginTransaction();
            var fragment    = new FragmentTransitionFragment();

            transaction.Replace(Resource.Id.sample_content_fragment, fragment);
            transaction.Commit();
        }