Files
ExemploAppMAUI/GuilhermesApp/Pages/RegisterPage.xaml
Guilherme Gaspar 44f456eb29 Guilhermes
2026-03-23 17:42:36 +00:00

36 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="GuilhermesApp.Pages.RegisterPage"
Shell.NavBarIsVisible="False"
Shell.FlyoutBehavior="Disabled"
Title="Registar">
<ScrollView>
<VerticalStackLayout Spacing="20" Padding="30" VerticalOptions="Center">
<Label Text="Criar Conta" FontSize="32" HorizontalOptions="Center" FontAttributes="Bold" />
<Entry x:Name="NomeEntry" Placeholder="Nome Completo" />
<Entry x:Name="TelemovelEntry" Placeholder="Telemóvel" Keyboard="Telephone" />
<Picker x:Name="GeneroPicker" Title="Seleciona o Género">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>Masculino</x:String>
<x:String>Feminino</x:String>
<x:String>Outro</x:String>
<x:String>Prefiro não dizer</x:String>
</x:Array>
</Picker.ItemsSource>
</Picker>
<Entry x:Name="EmailEntry" Placeholder="Email" Keyboard="Email" />
<Entry x:Name="PasswordEntry" Placeholder="Password (mín. 6 caracteres)" IsPassword="True" />
<Entry x:Name="ConfirmPasswordEntry" Placeholder="Confirmar Password" IsPassword="True" />
<Button Text="Registar" Clicked="OnRegisterAccountClicked" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>