Skip to content

Instantly share code, notes, and snippets.

@TBertuzzi
Created February 18, 2022 14:38
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 TBertuzzi/b23d374376f88f46bb17f4cc6e8f52ea to your computer and use it in GitHub Desktop.
Save TBertuzzi/b23d374376f88f46bb17f4cc6e8f52ea to your computer and use it in GitHub Desktop.
MultiLingua
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:resource="clr-namespace:XamarinFormsMultiLinguagem.Resources"
x:Class="XamarinFormsMultiLinguagem.MainPage">
<ContentPage.Content>
<StackLayout Padding="20" VerticalOptions="CenterAndExpand">
<Label Text="{x:Static resource:AppResources.SelecioneLinguagem}" />
<Button Text="Português"
Clicked="btnPortuguesClickedAsync"
BackgroundColor="Black"
TextColor="White"/>
<Button Text="Inglês"
Clicked="btnInglesClickedAsync"
BackgroundColor="Black"
TextColor="White"/>
<Button Text="Japonês"
Clicked="btnJaponesClickedAsync"
BackgroundColor="Black"
TextColor="White"/>
</StackLayout>
</ContentPage.Content>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment