You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.5 KiB

<?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="ex_Localization.MainPage"
xmlns:strings="clr-namespace:ex_Localization.Resources.Localization">
<ScrollView>
<VerticalStackLayout
Padding="30,0"
Spacing="25">
<Picker x:Name="picker"
Title="{x:Static strings:AppResources.PickerText}"
SelectedIndexChanged="picker_SelectedIndexChanged">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>en</x:String>
<x:String>fr-FR</x:String>
<x:String>ca-ES</x:String>
<x:String>es-ES</x:String>
<x:String>it</x:String>
</x:Array>
</Picker.ItemsSource>
</Picker>
<Entry Placeholder="{x:Static strings:AppResources.EntryPlaceholder}" />
<Button Text="{x:Static strings:AppResources.ButtonText}" />
<HorizontalStackLayout>
<Label Text="{x:Static strings:AppResources.LabelText}" />
<Label x:Name="resultLabel"/>
</HorizontalStackLayout>
</VerticalStackLayout>
</ScrollView>
</ContentPage>