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.
43 lines
2.0 KiB
43 lines
2.0 KiB
6 months ago
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||
|
x:Class="Justice.Views.MapTimer"
|
||
|
Title="Track Journey">
|
||
|
<VerticalStackLayout Padding="20" Spacing="15">
|
||
|
<!-- Page Title -->
|
||
|
<Label Text="Track Your Journey" FontSize="Large" HorizontalOptions="Center" FontAttributes="Bold" />
|
||
|
|
||
|
<!-- Current Location -->
|
||
|
<Label Text="Current Location (Latitude, Longitude):" FontSize="Medium" />
|
||
|
<Entry x:Name="SourceLatitudeEntry" IsReadOnly="True" Placeholder="Latitude" />
|
||
|
<Entry x:Name="SourceLongitudeEntry" IsReadOnly="True" Placeholder="Longitude" />
|
||
|
<Entry x:Name="SourceAddressEntry" IsReadOnly="True" Placeholder="Address" />
|
||
|
|
||
|
<!-- Destination Location -->
|
||
|
<Label Text="Destination Location (Latitude, Longitude):" FontSize="Medium" />
|
||
|
<Entry x:Name="DestinationLatitudeEntry" Placeholder="Enter Destination Latitude" />
|
||
|
<Entry x:Name="DestinationLongitudeEntry" Placeholder="Enter Destination Longitude" />
|
||
|
|
||
|
<!-- Timer -->
|
||
|
<Label Text="Set Timer (minutes):" FontSize="Medium" />
|
||
|
<Entry x:Name="TimerEntry" Keyboard="Numeric" Placeholder="Enter timer in minutes" />
|
||
|
|
||
|
<!-- Countdown Display -->
|
||
|
<Label x:Name="TimerLabel"
|
||
|
Text="Set your timer and start tracking."
|
||
|
FontSize="Medium"
|
||
|
HorizontalOptions="Center"
|
||
|
VerticalOptions="CenterAndExpand"
|
||
|
TextColor="DarkGray" />
|
||
|
|
||
|
<!-- Start Button -->
|
||
|
<Button Text="Start Tracking" Clicked="StartTrackingClicked" />
|
||
|
|
||
|
<!-- Activity Indicator -->
|
||
|
<ActivityIndicator x:Name="LoadingIndicator"
|
||
|
IsRunning="False"
|
||
|
IsVisible="False"
|
||
|
HorizontalOptions="Center"
|
||
|
VerticalOptions="Center" />
|
||
|
</VerticalStackLayout>
|
||
|
</ContentPage>
|