- <?xml version="1.0" encoding="utf-8" ?>
- <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="AwesomeApp.MainPage">
- <StackLayout>
- <!--Untuk mengubah warna-->
- <Frame BackgroundColor="#f24040ff" Padding="24" CornerRadius="0">
- <Label Text="Welcome to Xamarin.Forms!" HorizontalTextAlignment="Center" TextColor="White" FontSize="36"/>
- </Frame>
- <!--Menambahkan button-->
- <Button Text="Click Me" Clicked="Handle_Clicked" />
- <Label Text="Start developing now" FontSize="Title" Padding="30,10,30,10"/>
- <!--Menambahkan Tulisan-->
- <Label Text="Mobile Application Created !" FontSize="Medium" FontAttributes="Bold" />
- <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"/>
- <Label FontSize="16" Padding="30,24,30,0">
- <Label.FormattedText>
- <FormattedString>
- <FormattedString.Spans>
- <Span Text="Learn more at "/>
- <Span Text="https://aka.ms/xamarin-quickstart" FontAttributes="Bold"/>
- </FormattedString.Spans>
- </FormattedString>
- </Label.FormattedText>
- </Label>
- </StackLayout>
- </ContentPage>