-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainPage.xaml
127 lines (115 loc) · 4.58 KB
/
MainPage.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?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="FalaMarcelãov3.MainPage">
<ScrollView>
<VerticalStackLayout
Padding="30,0"
Spacing="50">
<Grid
HorizontalOptions="FillAndExpand"
VerticalOptions="Start"
ColumnDefinitions="*, auto"
Padding="0,10,0,0">
<Editor
x:Name="EditorText"
AutoSize="TextChanges"
Placeholder="Digite seu texto aqui..."
VerticalOptions="FillAndExpand"
HeightRequest="150"
HorizontalOptions="FillAndExpand"
Margin="10"
BackgroundColor="LightGray"
Grid.Column="0"
FontSize="30"
TextColor="Black"
PlaceholderColor="Gray" />
<VerticalStackLayout
VerticalOptions="CenterAndExpand"
HorizontalOptions="End"
Grid.Column="1"
>
<Button x:Name="Speak_Button"
Margin="10,20,10,10"
Clicked="OnSpeakButtonClicked"
HorizontalOptions="FillAndExpand"
BackgroundColor="LightGray"
ImageSource="playbutton.png"
HeightRequest="50"
WidthRequest="50"
Padding="10"/>
<Button x:Name="Divide_Palavra_Button"
ImageSource="divided.png"
Margin="10,20,10,10"
BackgroundColor="LightGray"
Clicked="BotaoDividePalavras"
HorizontalOptions="FillAndExpand"
HeightRequest="50"
WidthRequest="50"
Padding="10"/>
</VerticalStackLayout>
</Grid>
<Slider x:Name="SpeedSlider"
Minimum="-10.0"
Maximum="10.0"
Value="0.0"
VerticalOptions="Center"
WidthRequest="500"
MinimumTrackColor="DarkGray"
MaximumTrackColor="LightGray"
ThumbColor="Gray"/>
<VerticalStackLayout
Spacing="20">
<!-- Adicionando os três botões aqui -->
<HorizontalStackLayout
HorizontalOptions="Center"
VerticalOptions="Center"
Spacing="20"
Padding="0">
<Button
x:Name="Play_Palavra_Atual"
ImageSource="playbutton.png"
BackgroundColor="LightGray"
Clicked="BotaoPlayPalavraAtual"
HorizontalOptions="FillAndExpand"
HeightRequest="50"
WidthRequest="50"
Padding="10"/>
<Button
x:Name="Proxima_Palavra"
ImageSource="next.png"
BackgroundColor="LightGray"
Clicked="BotaoProximaPalavra"
HorizontalOptions="FillAndExpand"
HeightRequest="50"
WidthRequest="50"
Padding="10"/>
<Button
x:Name="Palavra_Anterior"
ImageSource="previous.png"
BackgroundColor="LightGray"
Clicked="BotaoPalavraAnterior"
HorizontalOptions="FillAndExpand"
HeightRequest="50"
WidthRequest="50"
Padding="10"/>
</HorizontalStackLayout>
<ScrollView Orientation="Horizontal">
<Grid
HorizontalOptions="FillAndExpand"
BackgroundColor="LightGray"
HeightRequest="300">
<HorizontalStackLayout
x:Name="ImagesContainer"
Spacing="10"
Padding="10"
HorizontalOptions="CenterAndExpand"
VerticalOptions="CenterAndExpand">
<!-- Suas imagens ou elementos vão aqui -->
</HorizontalStackLayout>
</Grid>
</ScrollView>
</VerticalStackLayout>
</VerticalStackLayout>
</ScrollView>
</ContentPage>