Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
InfoBlog/InfoBlog/Views/WelcomePage.xaml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (36 sloc)
2.02 KB
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" x:Class="InfoBlog.Views.WelcomePage"> | |
<ContentPage.Resources> | |
<!-- Implicit styles --> | |
<Style TargetType="{x:Type Editor}"> | |
<Setter Property="BackgroundColor" | |
Value="{StaticResource AppBackgroundColor}"/> | |
</Style> | |
<Style TargetType="Button" | |
ApplyToDerivedTypes="True" | |
CanCascade="True"> | |
<Setter Property="FontSize" Value="17" /> | |
<Setter Property="FontAttributes" Value="Bold" /> | |
<Setter Property="BackgroundColor" Value="#1976D2" /> | |
<Setter Property="TextColor" Value="White" /> | |
<Setter Property="CornerRadius" Value="5" /> | |
<Setter Property="Padding" Value="10, 0, 10, 0"/> | |
</Style> | |
</ContentPage.Resources> | |
<ContentPage.ToolbarItems > | |
<ToolbarItem Text="Login" Clicked="LoginBtn"/> | |
<ToolbarItem Text="Register" Clicked="RegisterBtn"/> | |
</ContentPage.ToolbarItems> | |
<ContentPage.Content > | |
<StackLayout BackgroundColor="#211F55"> | |
<Image Source="heart.jpg"/> | |
<Label Text="Welcome to InfoBlog..." TextColor="White" FontAttributes="Bold" FontSize="Title" HorizontalTextAlignment="Center"/> | |
<Label Text="To View Exciting Content, You Have to Login or register if you're new" TextColor="Yellow" HorizontalTextAlignment="Center" FontAttributes="Italic"/> | |
<Frame BackgroundColor="#F8F8F5"> | |
<Label Text="Get the best and latest Gists in Politics, Sports, Relationships, Marriages, Entertainment, Animals, Life Issues, Daily Events | |
Health, Career and so on. | |
Login or Register to explore our scintilating contents" VerticalTextAlignment="Center" HorizontalTextAlignment="Center" FontSize="16" TextColor="Black"/> | |
</Frame> | |
</StackLayout> | |
</ContentPage.Content> | |
</ContentPage> |