|
@@ -1,26 +1,62 @@
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
-<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
|
|
|
+<base:BasePage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
x:Class="Minolta_Remote.ProTab"
|
|
x:Class="Minolta_Remote.ProTab"
|
|
|
- Title="ProTab">
|
|
|
|
|
- <VerticalStackLayout Margin="30">
|
|
|
|
|
- <HorizontalStackLayout Margin="15" Spacing="10">
|
|
|
|
|
- <Label VerticalTextAlignment="Center">Выдержка милисекунд</Label>
|
|
|
|
|
- <Entry x:Name="ShootTime" Keyboard="Numeric"/>
|
|
|
|
|
- </HorizontalStackLayout>
|
|
|
|
|
- <HorizontalStackLayout Margin="15" Spacing="10">
|
|
|
|
|
- <Label VerticalTextAlignment="Center">Селфитаймер, милисекунд</Label>
|
|
|
|
|
- <Entry x:Name="SelfiTimer" Keyboard="Numeric"/>
|
|
|
|
|
- </HorizontalStackLayout>
|
|
|
|
|
- <HorizontalStackLayout Margin="15" Spacing="10">
|
|
|
|
|
- <Label VerticalTextAlignment="Center">Предфокусировка</Label>
|
|
|
|
|
- <Switch x:Name="Prefocus"/>
|
|
|
|
|
- </HorizontalStackLayout>
|
|
|
|
|
- <HorizontalStackLayout Margin="15" Spacing="10">
|
|
|
|
|
|
|
+ xmlns:base="clr-namespace:Minolta_Remote"
|
|
|
|
|
+ Title="ProTab"
|
|
|
|
|
+ BackgroundColor="#121212">
|
|
|
|
|
+
|
|
|
|
|
+ <ContentPage.Resources>
|
|
|
|
|
+ <Style TargetType="Label">
|
|
|
|
|
+ <Setter Property="TextColor" Value="White" />
|
|
|
|
|
+ <Setter Property="FontSize" Value="16" />
|
|
|
|
|
+ </Style>
|
|
|
|
|
+ <Style TargetType="Entry">
|
|
|
|
|
+ <Setter Property="TextColor" Value="White" />
|
|
|
|
|
+ <Setter Property="BackgroundColor" Value="#1E1E1E" />
|
|
|
|
|
+ <Setter Property="Margin" Value="0,4" />
|
|
|
|
|
+ </Style>
|
|
|
|
|
+ <Style TargetType="Button">
|
|
|
|
|
+ <Setter Property="BackgroundColor" Value="#1E88E5" />
|
|
|
|
|
+ <Setter Property="TextColor" Value="White" />
|
|
|
|
|
+ <Setter Property="CornerRadius" Value="24" />
|
|
|
|
|
+ <Setter Property="HeightRequest" Value="48" />
|
|
|
|
|
+ <Setter Property="Margin" Value="0,8" />
|
|
|
|
|
+ </Style>
|
|
|
|
|
+ </ContentPage.Resources>
|
|
|
|
|
+
|
|
|
|
|
+ <VerticalStackLayout Padding="24" Spacing="16">
|
|
|
|
|
+ <Label
|
|
|
|
|
+ Text="Bulb Mode"
|
|
|
|
|
+ FontAttributes="Bold"
|
|
|
|
|
+ FontSize="24"
|
|
|
|
|
+ HorizontalOptions="Center"
|
|
|
|
|
+ Margin="0,0,0,8" />
|
|
|
|
|
+
|
|
|
|
|
+ <Frame
|
|
|
|
|
+ Padding="16"
|
|
|
|
|
+ CornerRadius="12"
|
|
|
|
|
+ BackgroundColor="#1E1E1E"
|
|
|
|
|
+ HasShadow="False">
|
|
|
|
|
+ <VerticalStackLayout Spacing="12">
|
|
|
|
|
+ <HorizontalStackLayout Spacing="10">
|
|
|
|
|
+ <Label VerticalTextAlignment="Center">Shutter speed, ms</Label>
|
|
|
|
|
+ <Entry x:Name="ShootTime" Keyboard="Numeric" HorizontalOptions="FillAndExpand"/>
|
|
|
|
|
+ </HorizontalStackLayout>
|
|
|
|
|
+ <HorizontalStackLayout Spacing="10">
|
|
|
|
|
+ <Label VerticalTextAlignment="Center">Self-timer, ms</Label>
|
|
|
|
|
+ <Entry x:Name="SelfiTimer" Keyboard="Numeric" HorizontalOptions="FillAndExpand"/>
|
|
|
|
|
+ </HorizontalStackLayout>
|
|
|
|
|
+ <HorizontalStackLayout Spacing="10">
|
|
|
|
|
+ <Label VerticalTextAlignment="Center">Prefocus</Label>
|
|
|
|
|
+ <Switch x:Name="Prefocus" HorizontalOptions="EndAndExpand"/>
|
|
|
|
|
+ </HorizontalStackLayout>
|
|
|
|
|
+ </VerticalStackLayout>
|
|
|
|
|
+ </Frame>
|
|
|
|
|
+
|
|
|
|
|
+ <VerticalStackLayout Spacing="8">
|
|
|
<Button Text="Take Photo" x:Name="ShootButon" Clicked="ShootButon_Clicked"/>
|
|
<Button Text="Take Photo" x:Name="ShootButon" Clicked="ShootButon_Clicked"/>
|
|
|
- </HorizontalStackLayout>
|
|
|
|
|
- <HorizontalStackLayout Margin="15" Spacing="10">
|
|
|
|
|
<Button Text="Reset camera focus" x:Name="ResetButon" Clicked="ResetButon_Clicked"/>
|
|
<Button Text="Reset camera focus" x:Name="ResetButon" Clicked="ResetButon_Clicked"/>
|
|
|
- </HorizontalStackLayout>
|
|
|
|
|
|
|
+ </VerticalStackLayout>
|
|
|
</VerticalStackLayout>
|
|
</VerticalStackLayout>
|
|
|
-</ContentPage>
|
|
|
|
|
|
|
+</base:BasePage>
|