void CrearVistas() { loading = new Cargando(); ImageBackOlvidoContraseña = new Image { Source = Core.IconoBack, IsVisible = false }; LogoUTAP = new Image { Source = Core.LogoUtap }; BoxviewDiseño = new BoxView { Color = Colores.Color_Navegation }; labeLBienvenido = new Label { Text = " Bienvenidos ", HorizontalOptions = LayoutOptions.Center, VerticalOptions = LayoutOptions.Center, TextColor = Colores.Color_Titulos, /*Color.FromHex("#FFFFFF")*/ FontSize = TamanosLetras.Texto_Titulos }; labelOlvidoContraseña = new Label { Text = " ¿Olvidaste tú contraseña? ", HorizontalOptions = LayoutOptions.Center, VerticalOptions = LayoutOptions.Center, TextColor = Colores.Color_Titulos, FontSize = TamanosLetras.Texto_Controles }; entryIdentificacion = new Entry { Placeholder = "No. Documento", PlaceholderColor = Color.FromHex("#FFFFFF"), Keyboard = Keyboard.Numeric, TextColor = Color.FromHex("#FFFFFF") }; entryCodigoProfesor = new Entry { Placeholder = "Código Profesor ", PlaceholderColor = Color.FromHex("#FFFFFF"), Keyboard = Keyboard.Numeric, TextColor = Colores.Color_Textos }; entryContraseña = new Entry { Placeholder = "Contraseña", PlaceholderColor = Color.FromHex("#FFFFFF"), Keyboard = Keyboard.Text, TextColor = Colores.Color_Textos, IsPassword = true }; buttonIniciar = new Button { Text = "Acceder a la App", BackgroundColor = Color.FromHex("FFFFFF"), TextColor = Colores.Color_TextosSecundario, //Scale = 6 "El boton se pone 6 veces mas grande que el original" }; VistaGeneral = new StackLayout { BackgroundColor = Colores.Color_Navegation }; ContenedorPrincipal = new RelativeLayout { BackgroundColor = Colores.Color_Navegation }; Circulo = new BoxView { Color = Color.Black, CornerRadius = 40, //Para que el boxview se ponga rendondo Scale = 20 }; buttonIniciar.Clicked += ButtonIniciar_Clicked; //evento para animación 24-02-2020 NavegarOlvidoContra = new TapGestureRecognizer(); labelOlvidoContraseña.GestureRecognizers.Add(NavegarOlvidoContra); }