-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfigurationPage.xaml
64 lines (57 loc) · 2.48 KB
/
ConfigurationPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="PracticaPalabrasMAUI.ConfigurationPage"
Title="{DynamicResource Configuration}">
<VerticalStackLayout>
<Grid RowDefinitions="*,*">
<!-- Título de la sección -->
<Label Text="{DynamicResource ImagineRatio}"
FontSize="20"
FontAttributes="Bold"
/>
<!-- Contenedor del deslizador y la etiqueta de valor -->
<Grid Grid.Row="1" ColumnDefinitions="*,30,100">
<Slider x:Name="slImagineRatio"
Minimum="0"
Maximum="10"
Value="{Binding Path=ImagineRate, Mode=TwoWay}"
VerticalOptions="CenterAndExpand"
Grid.Column="0" />
<Label Text="{Binding Value, Source={x:Reference slImagineRatio}, StringFormat='{0:F0}'}"
VerticalOptions="CenterAndExpand"
FontSize="16"
Margin="10,0,0,0"
Grid.Column="1" />
<!-- Mensaje de "Imagine Disabled" -->
<Label x:Name="lblImagineDisabled"
Text="{DynamicResource ImagineDisabled}"
IsVisible="{Binding Path=IsImagineDisabled, Mode=OneWay}"
FontSize="16"
FontAttributes="Italic"
TextColor="Gray"
Grid.Column="2"
VerticalOptions="CenterAndExpand" />
</Grid>
</Grid>
<Grid ColumnDefinitions="*,30">
<Label Text="{DynamicResource SpeakAllWord}"
FontSize="20"
FontAttributes="Bold">
<Label.GestureRecognizers>
<TapGestureRecognizer Tapped="TapChangeSpeak" />
</Label.GestureRecognizers>
</Label>
<CheckBox Grid.Column="1" IsChecked="{Binding Path=SpeakAllWord,Mode=TwoWay}"/>
</Grid>
<Grid ColumnDefinitions="*,30">
<Label Text="{DynamicResource SortDictionary}"
FontSize="20"
FontAttributes="Bold">
<Label.GestureRecognizers>
<TapGestureRecognizer Tapped="TapChangeSort" />
</Label.GestureRecognizers>
</Label>
<CheckBox Grid.Column="1" IsChecked="{Binding Path=SortDictionary,Mode=TwoWay}"/>
</Grid>
</VerticalStackLayout>
</ContentPage>