2019-03-28 22:10:10 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2019-05-07 05:30:54 +02:00
|
|
|
<pages:BaseContentPage
|
2019-03-28 22:10:10 +01:00
|
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
x:Class="Bit.App.Pages.HomePage"
|
2019-03-29 04:52:33 +01:00
|
|
|
xmlns:pages="clr-namespace:Bit.App.Pages"
|
2019-05-02 18:20:56 +02:00
|
|
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
2019-04-22 19:47:45 +02:00
|
|
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
2019-03-29 14:16:22 +01:00
|
|
|
x:DataType="pages:HomeViewModel"
|
2019-03-29 04:52:33 +01:00
|
|
|
Title="{Binding PageTitle}">
|
2019-03-28 22:10:10 +01:00
|
|
|
<ContentPage.BindingContext>
|
2019-03-29 04:52:33 +01:00
|
|
|
<pages:HomeViewModel />
|
2019-03-28 22:10:10 +01:00
|
|
|
</ContentPage.BindingContext>
|
|
|
|
|
2019-05-02 18:20:56 +02:00
|
|
|
<StackLayout Spacing="0" Padding="10, 5">
|
|
|
|
<controls:FaButton Text=""
|
|
|
|
StyleClass="btn-muted, btn-icon, btn-icon-platform"
|
|
|
|
HorizontalOptions="Start"
|
2019-07-22 18:04:17 +02:00
|
|
|
Clicked="Settings_Clicked"
|
|
|
|
AutomationProperties.IsInAccessibleTree="True"
|
|
|
|
AutomationProperties.Name="{u:I18n Options}">
|
2019-07-08 19:37:45 +02:00
|
|
|
<controls:FaButton.Margin>
|
|
|
|
<OnPlatform x:TypeArguments="Thickness">
|
|
|
|
<On Platform="iOS" Value="0, 10, 0, 0" />
|
|
|
|
<On Platform="Android" Value="0" />
|
|
|
|
</OnPlatform>
|
|
|
|
</controls:FaButton.Margin>
|
|
|
|
</controls:FaButton>
|
2019-05-02 18:26:09 +02:00
|
|
|
<StackLayout VerticalOptions="CenterAndExpand" Spacing="20">
|
2019-05-29 23:14:15 +02:00
|
|
|
<Image
|
|
|
|
x:Name="_logo"
|
|
|
|
Source="logo.png"
|
2019-04-19 13:42:36 +02:00
|
|
|
VerticalOptions="Center" />
|
2019-04-22 19:47:45 +02:00
|
|
|
<Label Text="{u:I18n LoginOrCreateNewAccount}"
|
2019-05-02 18:20:56 +02:00
|
|
|
StyleClass="text-lg"
|
2019-04-19 13:42:36 +02:00
|
|
|
HorizontalTextAlignment="Center"></Label>
|
2019-05-02 18:26:09 +02:00
|
|
|
<StackLayout Spacing="5">
|
|
|
|
<Button Text="{u:I18n LogIn}"
|
2019-04-19 15:42:55 +02:00
|
|
|
Clicked="LogIn_Clicked"></Button>
|
2019-05-02 18:26:09 +02:00
|
|
|
<Button Text="{u:I18n CreateAccount}"
|
2019-05-02 16:10:05 +02:00
|
|
|
Clicked="Register_Clicked"></Button>
|
2019-05-02 18:26:09 +02:00
|
|
|
</StackLayout>
|
2019-04-19 13:42:36 +02:00
|
|
|
</StackLayout>
|
2019-03-28 22:10:10 +01:00
|
|
|
</StackLayout>
|
|
|
|
|
2019-05-07 05:30:54 +02:00
|
|
|
</pages:BaseContentPage>
|