bitwarden-android/src/App/Pages/HomePage.xaml

33 lines
1.2 KiB
Text
Raw Normal View History

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