2021-08-03 16:43:16 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<ContentPage
|
|
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
2021-08-04 23:50:48 +00:00
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:views="clr-namespace:MobileApp1.Views"
|
2021-08-03 16:43:16 +00:00
|
|
|
x:Class="MobileApp1.Views.SettingsPage"
|
|
|
|
Title="Settings">
|
|
|
|
<ContentPage.Content>
|
|
|
|
<ScrollView>
|
|
|
|
<StackLayout Margin="20">
|
|
|
|
<Grid Padding="0, 0, 0, 10">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Label Grid.Row="0" Grid.Column="0" Text="CheckBox Setting" VerticalTextAlignment="Center" />
|
2021-08-04 23:50:48 +00:00
|
|
|
<CheckBox Grid.Row="0" Grid.Column="1" x:Name="checkBox1" HorizontalOptions="EndAndExpand" />
|
2021-08-03 16:43:16 +00:00
|
|
|
|
|
|
|
<Label Grid.Row="1" Grid.Column="0" Text="Switch Setting" VerticalTextAlignment="Center" />
|
2021-08-04 23:50:48 +00:00
|
|
|
<Switch Grid.Row="1" Grid.Column="1" x:Name="switchBox1" HorizontalOptions="EndAndExpand" />
|
2021-08-03 16:43:16 +00:00
|
|
|
|
|
|
|
<Label Grid.Row="2" Grid.Column="0" Text="Date Setting" VerticalTextAlignment="Center" />
|
2021-08-04 23:50:48 +00:00
|
|
|
<DatePicker Grid.Row="2" Grid.Column="1" x:Name="datePicker1" HorizontalOptions="EndAndExpand" Format="dd/MM/yyyy" />
|
2021-08-03 16:43:16 +00:00
|
|
|
|
2021-08-04 23:50:48 +00:00
|
|
|
<Label Grid.Row="3" Grid.Column="0" Text="Time Setting" VerticalTextAlignment="Center" />
|
|
|
|
<TimePicker Grid.Row="3" Grid.Column="1" x:Name="timePicker1" HorizontalOptions="EndAndExpand" Format="HH:mm" />
|
|
|
|
|
|
|
|
<!--<Label Grid.Row="3" Grid.Column="0" Text="TextBox Setting" VerticalTextAlignment="Center" />
|
|
|
|
<Entry Grid.Row="3" Grid.Column="1" HorizontalOptions="EndAndExpand" />-->
|
2021-08-03 16:43:16 +00:00
|
|
|
|
|
|
|
<Label Grid.Row="4" Grid.Column="0" Text="Picker Setting" VerticalTextAlignment="Center" />
|
2021-08-04 23:50:48 +00:00
|
|
|
<Picker Grid.Row="5" Grid.Column="1" x:Name="pickerBox1" HorizontalOptions="FillAndExpand">
|
|
|
|
<Picker.Items>
|
|
|
|
<x:String></x:String>
|
|
|
|
<x:String>One</x:String>
|
|
|
|
<x:String>Two</x:String>
|
|
|
|
<x:String>Three</x:String>
|
|
|
|
<x:String>Four</x:String>
|
|
|
|
<x:String>Five</x:String>
|
|
|
|
</Picker.Items>
|
|
|
|
</Picker>
|
2021-08-03 16:43:16 +00:00
|
|
|
|
|
|
|
<!--<Label Grid.Row="5" Grid.Column="0" Text="TextBox Setting" VerticalTextAlignment="Center" />
|
|
|
|
<RadioButton Grid.Row="5" Grid.Column="1" HorizontalOptions="EndAndExpand" />-->
|
|
|
|
|
|
|
|
<!--<Label Grid.Row="6" Grid.Column="0" Text="TextBox Setting" VerticalTextAlignment="Center" />
|
|
|
|
<Slider Grid.Row="6" Grid.Column="1" HorizontalOptions="FillAndExpand" Minimum="0" Maximum="100" />-->
|
|
|
|
|
|
|
|
<!--<Label Grid.Row="5" Grid.Column="0" Text="TextBox Setting" VerticalTextAlignment="Center" />
|
|
|
|
<Stepper Grid.Row="5" Grid.Column="1" HorizontalOptions="EndAndExpand" MinimumWidthRequest="100" />-->
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
2021-08-04 23:50:48 +00:00
|
|
|
<Button x:Name="button1" Margin="0, 20, 0, 0" Text="Save" Clicked="button1_Clicked"></Button>
|
2021-08-03 16:43:16 +00:00
|
|
|
|
2021-08-04 23:50:48 +00:00
|
|
|
<views:LoadingIndicatorView x:Name="loadingIndicatorView1" Margin="0, 20, 0, 0" />
|
2021-08-03 16:43:16 +00:00
|
|
|
|
|
|
|
</StackLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</ContentPage.Content>
|
|
|
|
</ContentPage>
|