<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="inutralia.Views.NutriQuestion.CreateNutriQuestion"
             Title="Crear una Consulta"
             BackgroundColor="#ffffff">
    <ContentPage.Content >
        <StackLayout Orientation="Vertical" 
                     Padding="20" 
                     BackgroundColor="#ffffff"  
                     VerticalOptions="CenterAndExpand"
                     HorizontalOptions="CenterAndExpand">

           <Image Source="logo_empresa.png" 
                  Aspect="AspectFit" 
                  WidthRequest="200"
                  HorizontalOptions="Center" 
                  VerticalOptions="CenterAndExpand"/>

            <Label Text="Puedes enviar una nueva consulta rellenando este formulario"  
                   HorizontalTextAlignment="Center" 
                   FontSize="Medium"
                   FontAttributes="Bold"  />
            
            <Entry x:Name = "asunto" 
				   Placeholder="Asunto"
                   Margin="0,30,0,0"/>

            <Entry 
                    Placeholder="Consulta"
                    x:Name="consultaEditor" 
                    HeightRequest="100"
                    VerticalOptions="FillAndExpand"   />
            
            <Button Text="ENVIAR CONSULTA >"
                Clicked="OnCreateButtonClicked"
                HorizontalOptions="FillAndExpand"
                BackgroundColor="#333333"
                TextColor="#ffffff"
                Margin="0,30,0,0"       />
         
        </StackLayout>
    </ContentPage.Content>
</ContentPage>