Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Last active November 22, 2018 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebeam7/58d14f94b8f40da660e85ecdb02963bc to your computer and use it in GitHub Desktop.
Save icebeam7/58d14f94b8f40da660e85ecdb02963bc to your computer and use it in GitHub Desktop.
DemoTTS: PaginaTextoVoz.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="DemoTTS.Paginas.PaginaTextoVoz">
<ContentPage.Content>
<StackLayout BackgroundColor="White" Margin="20" Padding="20" Spacing="10">
<StackLayout Orientation="Horizontal">
<Label Text="Escribe un mensaje"
FontSize="Large" TextColor="Black"
VerticalOptions="CenterAndExpand"
HorizontalOptions="Start"
Margin="5" />
<Entry Placeholder="Mensaje..." x:Name="txtMensaje"
FontSize="Medium" TextColor="Blue"
VerticalOptions="CenterAndExpand"
HorizontalOptions="FillAndExpand"
Margin="5" BackgroundColor="LightGray" />
</StackLayout>
<Button Text="Hablar" x:Name="btnHablar"
FontSize="Medium" TextColor="Green"
HorizontalOptions="FillAndExpand"
BackgroundColor="LightGray"
Clicked="btnHablar_Clicked" />
</StackLayout>
</ContentPage.Content>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment