1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-06-28 10:54:59 +02:00
bitwarden-mobile/src/App/Pages/HomePage.xaml

33 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-03-28 22:10:10 +01:00
<?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="Bit.App.Pages.HomePage"
2019-03-29 04:52:33 +01:00
xmlns:pages="clr-namespace:Bit.App.Pages"
2019-04-22 19:47:45 +02:00
xmlns:u="clr-namespace:Bit.App.Utilities"
2019-04-19 13:42:36 +02:00
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
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>
<StackLayout>
2019-04-19 13:42:36 +02:00
<Button Text="&#xf2b9;"
class="fa"
HorizontalOptions="Start"></Button>
<StackLayout VerticalOptions="CenterAndExpand">
<Image Source="logo.png"
VerticalOptions="Center" />
2019-04-22 19:47:45 +02:00
<Label Text="{u:I18n LoginOrCreateNewAccount}"
2019-04-19 13:42:36 +02:00
class="text-lg"
HorizontalTextAlignment="Center"></Label>
2019-04-22 19:47:45 +02:00
<Button Text="{u:I18n LogIn}"
2019-04-19 15:42:55 +02:00
Clicked="LogIn_Clicked"></Button>
2019-05-02 16:10:05 +02:00
<Button Text="{u:I18n CreateAccount}"
Clicked="Register_Clicked"></Button>
2019-04-19 13:42:36 +02:00
</StackLayout>
2019-03-28 22:10:10 +01:00
</StackLayout>
</ContentPage>