This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
namespace XamarinFormsMultiLinguagem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" | |
NavigationPage.HasBackButton="False" | |
x:Class="XamarinFormsMultiLinguagem.BemVindoPage"> | |
<ContentPage.Content> | |
<StackLayout> | |
<Frame BackgroundColor="#2196F3" Padding="24" CornerRadius="0"> | |
<Label Text="{x:Static resource:AppResources.BemVindo}" HorizontalTextAlignment="Center" TextColor="White" FontSize="36"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Globalization; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
using XamarinFormsMultiLinguagem.Resources; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Globalization; | |
using System.Threading; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
namespace XamarinFormsMultiLinguagem | |
{ | |
public partial class App : Application | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<dialog:DialogView xmlns:dialog="clr-namespace:AiForms.Dialogs.Abstractions;assembly=AiForms.Dialogs" | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="XamarinFormsAiFormsDialogs.MinhaDialogView"> | |
<ContentView BackgroundColor="#2196F3" x:Name="container" Padding="12"> | |
<StackLayout WidthRequest="200" BackgroundColor="White" > | |
<Label Text="Minha Dialog!" /> | |
<Button Text="Cancelar" Clicked="btnCancel_Clicked"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using AiForms.Dialogs.Abstractions; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void btnToast_Clicked(object sender, EventArgs e) | |
{ | |
Toast.Instance.Show<MinhaToastView>(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<toast:ToastView xmlns:toast="clr-namespace:AiForms.Dialogs.Abstractions;assembly=AiForms.Dialogs" | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="XamarinFormsAiFormsDialogs.MinhaToastView"> | |
<ContentView.Content> | |
<StackLayout x:Name="container" Spacing="0" Padding="10" WidthRequest="124" HeightRequest="124"> | |
<Image x:Name="image" WidthRequest="70" HeightRequest="70" Margin="0,0,0,10" /> | |
<Label Text="Rodando, MA OEEEEEEE! " HorizontalTextAlignment="Center" x:Name="label" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using AiForms.Dialogs.Abstractions; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; |
NewerOlder