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

			FragmentTransaction transaction = FragmentManager.BeginTransaction ();
			CardReaderFragment fragment = new CardReaderFragment();
			transaction.Replace(Resource.Id.sample_content_fragment, fragment);
			transaction.Commit();
		}
Exemple #2
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            this.SetContentView(Resource.Layout.activity_main);

            FragmentTransaction transaction = FragmentManager.BeginTransaction();
            CardReaderFragment  fragment    = new CardReaderFragment();

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