Skip to content

Instantly share code, notes, and snippets.

@diegobersano
Last active November 29, 2016 00:13
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 diegobersano/5e073d28954cd84343812430f1138eee to your computer and use it in GitHub Desktop.
Save diegobersano/5e073d28954cd84343812430f1138eee to your computer and use it in GitHub Desktop.
using Xamarin.Forms;
namespace AppForms
{
public class App : Application
{
public App()
{
MainPage = new ContentPage
{
Content = new StackLayout
{
VerticalOptions = LayoutOptions.Center,
Children =
{
new Label
{
HorizontalTextAlignment = TextAlignment.Center,
Text = "Hola mundo desde Xamarin Forms!",
FontSize = 30
}
}
}
};
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment