This paste brought to you by Pastebin. View Raw

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
  3.              xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4.              x:Class="AwesomeApp.MainPage">
  5.  
  6.     <StackLayout>
  7.         <!--Untuk mengubah warna-->
  8.         <Frame BackgroundColor="#f24040ff" Padding="24" CornerRadius="0">
  9.             <Label Text="Welcome to Xamarin.Forms!" HorizontalTextAlignment="Center" TextColor="White" FontSize="36"/>
  10.         </Frame>
  11.         <!--Menambahkan button-->
  12.         <Button Text="Click Me" Clicked="Handle_Clicked" />
  13.         <Label Text="Start developing now" FontSize="Title" Padding="30,10,30,10"/>
  14.         <!--Menambahkan Tulisan-->
  15.         <Label Text="Mobile Application Created !" FontSize="Medium" FontAttributes="Bold" />
  16.         <Label Text="Make changes to your XAML file and save to see your UI update in the running app with XAML Hot Reload. Give it a try!" FontSize="16" Padding="30,0,30,0"/>
  17.         <Label FontSize="16" Padding="30,24,30,0">
  18.             <Label.FormattedText>
  19.                 <FormattedString>
  20.                     <FormattedString.Spans>
  21.                         <Span Text="Learn more at "/>
  22.                         <Span Text="https://aka.ms/xamarin-quickstart" FontAttributes="Bold"/>
  23.                     </FormattedString.Spans>
  24.                 </FormattedString>
  25.             </Label.FormattedText>
  26.         </Label>
  27.     </StackLayout>
  28.  
  29. </ContentPage>