Guilhermes
This commit is contained in:
27
GuilhermesApp/Pages/SensorPage.xaml
Normal file
27
GuilhermesApp/Pages/SensorPage.xaml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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.SensorPage"
|
||||
Shell.NavBarIsVisible="False"
|
||||
Title="Sensor">
|
||||
|
||||
<VerticalStackLayout Spacing="30" Padding="30" VerticalOptions="Center">
|
||||
|
||||
<Label Text="Controlo ESP32-C6" FontSize="28" FontAttributes="Bold" HorizontalOptions="Center" />
|
||||
|
||||
<Border Padding="20" StrokeShape="RoundRectangle 15" BackgroundColor="#F3F4F6" Stroke="Transparent">
|
||||
<VerticalStackLayout Spacing="10" HorizontalOptions="Center">
|
||||
<Label Text="Estado do LED" FontSize="18" HorizontalOptions="Center" TextColor="Black"/>
|
||||
<Button x:Name="LedBtn" Text="LIGAR LED" Clicked="OnLedClicked" BackgroundColor="DarkSlateGray" TextColor="White"/>
|
||||
</VerticalStackLayout>
|
||||
</Border>
|
||||
|
||||
<Border Padding="20" StrokeShape="RoundRectangle 15" BackgroundColor="#D1E8FF" Stroke="Transparent">
|
||||
<VerticalStackLayout Spacing="10" HorizontalOptions="Center">
|
||||
<Label Text="Botão no Arduino" FontSize="18" HorizontalOptions="Center" TextColor="Black"/>
|
||||
<Label x:Name="StatusLabel" Text="A aguardar sinal..." FontAttributes="Bold" FontSize="20" TextColor="Black" HorizontalOptions="Center" />
|
||||
</VerticalStackLayout>
|
||||
</Border>
|
||||
|
||||
</VerticalStackLayout>
|
||||
</ContentPage>
|
||||
Reference in New Issue
Block a user