protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            var rootLayout = new LinearLayout(this)
            {
                LayoutParameters =
                    new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.FillParent),
                Orientation = Orientation.Vertical
            };

            var header = new TextView(this)
            {
                Text             = "Log in",
                TextSize         = 30,
                LayoutParameters =
                    new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.WrapContent)
            };

            header.SetPadding(5, 11, 0, 11);


            rootLayout.AddView(header);

            var description = new TextView(this)
            {
                Text             = "Log in the application with your account of choice.",
                TextSize         = 15,
                LayoutParameters =
                    new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.WrapContent)
            };

            description.SetPadding(5, 11, 5, 11);


            rootLayout.AddView(description);

            loginView = new AccessControlIdentityProviderListView(this)
            {
                LayoutParameters =
                    new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.FillParent),
                Orientation = Orientation.Vertical
            };

            loginView.NavigateToIdentityProvider += loginView_NavigateToIdentityProvider;

            var realm        = Intent.GetStringExtra("monodroid.watoolkit.library.login.realm");
            var acsNamespace = Intent.GetStringExtra("monodroid.watoolkit.library.login.acsNamespace");

            loginView.Realm            = realm;
            loginView.ServiceNamespace = acsNamespace;

            rootLayout.AddView(loginView);

            SetContentView(rootLayout);

            loginView.GetSecurityToken();
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            var rootLayout = new LinearLayout(this)
            {
                LayoutParameters =
                    new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.FillParent),
                Orientation = Orientation.Vertical
            };

            var header = new TextView(this)
            {
                Text = "Log in",
                TextSize = 30,
                LayoutParameters =
                    new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.WrapContent)
            };
            header.SetPadding(5, 11, 0, 11);
            

            rootLayout.AddView(header);

            var description = new TextView(this)
            {
                Text = "Log in the application with your account of choice.",
                TextSize = 15,
                LayoutParameters =
                    new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.WrapContent)
            };
            description.SetPadding(5, 11, 5, 11);
            

            rootLayout.AddView(description);

            loginView = new AccessControlIdentityProviderListView(this)
            {
                LayoutParameters =
                    new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.FillParent),
                Orientation = Orientation.Vertical
            };

            loginView.NavigateToIdentityProvider += loginView_NavigateToIdentityProvider;

            var realm = Intent.GetStringExtra("monodroid.watoolkit.library.login.realm");
            var acsNamespace = Intent.GetStringExtra("monodroid.watoolkit.library.login.acsNamespace");

            loginView.Realm = realm;
            loginView.ServiceNamespace = acsNamespace;

            rootLayout.AddView(loginView);

            SetContentView(rootLayout);

            loginView.GetSecurityToken();
        }