void CrearVistas() { VistaPrincipal = new RelativeLayout(); entryCodigo = new Entry { PlaceholderColor = Color.White, Placeholder = "Codigo", TextColor = Color.White, Keyboard = Keyboard.Numeric }; entryDocumento = new Entry { PlaceholderColor = Color.White, Placeholder = "Documento", TextColor = Color.White, MaxLength = 10 }; entryPassword = new Entry { PlaceholderColor = Color.White, Placeholder = "Contraseña", TextColor = Color.White, IsPassword = true, }; buttonAcceder = new Button { Text = "Acceder A la App", //Scale = 0 //tamaño al que inicia el boton }; Bienvenidos = new Label { Text = "Bienvenidos", FontSize = 40, TextColor = Color.White }; OlvidarPassword = new Label { Text = "¿Olvidaste tu contraseña?", TextColor = Color.White }; loading = new Cargando(); //Circulo = new BoxView //{ // BackgroundColor = Color.Black, // CornerRadius = 40, // Scale = 20 //}; Back = new Image { Source = Imagenes.Back, IsVisible = false }; Logo = new Image { Source = Imagenes.LogoUtap }; //Circulo2 = new BoxView //{ // Scale = 20, // BackgroundColor = Color.Red, // CornerRadius = 40 //}; VistaGeneral = new StackLayout(); VistaCirculo = new StackLayout(); buttonAcceder.Clicked += ButtonAcceder_Clicked; TapBack = new TapGestureRecognizer(); TapOlvidoContraseña = new TapGestureRecognizer(); OlvidarPassword.GestureRecognizers.Add(TapOlvidoContraseña); Back.GestureRecognizers.Add(TapBack); VistaGeneral.HorizontalOptions = LayoutOptions.Center; VistaGeneral.VerticalOptions = LayoutOptions.CenterAndExpand; }