mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 15:45:42 +03:00
37 lines
1.5 KiB
XML
37 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<pages:BaseContentPage
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="Bit.App.Pages.HomePage"
|
|
xmlns:pages="clr-namespace:Bit.App.Pages"
|
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
|
x:DataType="pages:HomeViewModel"
|
|
Title="{Binding PageTitle}">
|
|
<ContentPage.BindingContext>
|
|
<pages:HomeViewModel />
|
|
</ContentPage.BindingContext>
|
|
|
|
<StackLayout Spacing="0" Padding="10, 5">
|
|
<controls:FaButton Text=""
|
|
StyleClass="btn-muted, btn-icon, btn-icon-platform"
|
|
HorizontalOptions="Start"
|
|
Clicked="Settings_Clicked" />
|
|
<StackLayout VerticalOptions="CenterAndExpand" Spacing="20">
|
|
<Image
|
|
x:Name="_logo"
|
|
Source="logo.png"
|
|
VerticalOptions="Center" />
|
|
<Label Text="{u:I18n LoginOrCreateNewAccount}"
|
|
StyleClass="text-lg"
|
|
HorizontalTextAlignment="Center"></Label>
|
|
<StackLayout Spacing="5">
|
|
<Button Text="{u:I18n LogIn}"
|
|
Clicked="LogIn_Clicked"></Button>
|
|
<Button Text="{u:I18n CreateAccount}"
|
|
Clicked="Register_Clicked"></Button>
|
|
</StackLayout>
|
|
</StackLayout>
|
|
</StackLayout>
|
|
|
|
</pages:BaseContentPage>
|