You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Seekers/Views/AddContactPage.xaml

47 lines
1.8 KiB

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Justice.Views.AddContactPage"
Title="Add Emergency Contact">
<StackLayout Padding="20">
<Label Text="Name" FontSize="Medium" />
<Entry x:Name="NameEntry" Placeholder="Enter name" />
<Label Text="Mobile Number" FontSize="Medium" />
<Entry x:Name="MobileNumberEntry" Placeholder="Enter mobile number" Keyboard="Telephone" />
<Label Text="Group" FontSize="Medium" />
<Picker x:Name="GroupPicker">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>Parents</x:String>
<x:String>Friends</x:String>
<x:String>Colleagues</x:String>
<x:String>Others</x:String>
</x:Array>
</Picker.ItemsSource>
</Picker>
<Button Text="Save Contact" Clicked="OnSaveContactClicked" />
<ScrollView>
<StackLayout>
<Grid RowSpacing="10" ColumnSpacing="10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" HeightRequest="100" Margin="1">
</Border>
<Border Grid.Column="1" HeightRequest="100">
</Border>
<Border Grid.Column="2" HeightRequest="100">
</Border>
</Grid>
</StackLayout>
</ScrollView>
</StackLayout>
</ContentPage>