private void ShowWords(string[] englishWords, string[] spanishWords)
        {
            if (isDualPane)
            {
                // Make new fragment to show this selection.
                var words = new WordsFragment()
                {
                    Arguments = new Bundle()
                };
                words.Arguments.PutStringArray("english", englishWords);
                words.Arguments.PutStringArray("spanish", spanishWords);

                // Execute a transaction, replacing any existing
                // fragment with this one inside the frame.
                var ft = FragmentManager.BeginTransaction();
                ft.Replace(Resource.Id.words, words);
                ft.SetTransition(FragmentTransit.FragmentFade);
                ft.Commit();
            }
            else
            {
                // Otherwise we need to launch a new Activity to display
                // the dialog fragment with selected text.
                var intent = new Intent();
                intent.SetClass(Activity, typeof(WordsActivity));
                intent.PutExtra("spanish", spanishWords);
                intent.PutExtra("english", englishWords);
                StartActivity(intent);
            }
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            var wordsFrag = new WordsFragment()
            {
                Arguments = Intent.Extras
            };

            var fragmentTransaction = FragmentManager.BeginTransaction();

            fragmentTransaction.Add(Android.Resource.Id.Content, wordsFrag);
            fragmentTransaction.Commit();
        }