1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-05 01:53:17 +00:00

lock page styling.

This commit is contained in:
Kyle Spearrin
2016-06-11 02:43:53 -04:00
parent afbc5a903b
commit 9af3239f41
3 changed files with 27 additions and 9 deletions

View File

@@ -37,22 +37,25 @@ namespace Bit.App.Pages
{
Text = "Use Fingerprint to Unlock",
Command = new Command(async () => await CheckFingerprintAsync()),
VerticalOptions = LayoutOptions.EndAndExpand
VerticalOptions = LayoutOptions.EndAndExpand,
TextColor = Color.FromHex("333333")
};
var logoutButton = new Button
{
Text = AppResources.LogOut,
Command = new Command(async () => await LogoutAsync()),
VerticalOptions = LayoutOptions.End
VerticalOptions = LayoutOptions.End,
TextColor = Color.FromHex("333333")
};
var stackLayout = new StackLayout { Padding = new Thickness( 30, 40), Spacing = 10 };
var stackLayout = new StackLayout { Padding = new Thickness(30, 40), Spacing = 10 };
stackLayout.Children.Add(fingerprintButton);
stackLayout.Children.Add(logoutButton);
Title = "Verify Fingerprint";
Content = stackLayout;
BackgroundImage = "bg.png";
}
protected override bool OnBackButtonPressed()

View File

@@ -39,7 +39,8 @@ namespace Bit.App.Pages
{
Text = AppResources.LogOut,
Command = new Command(async () => await LogoutAsync()),
VerticalOptions = LayoutOptions.End
VerticalOptions = LayoutOptions.End,
TextColor = Color.FromHex("333333")
};
var stackLayout = new StackLayout
@@ -55,6 +56,7 @@ namespace Bit.App.Pages
Title = "Verify PIN";
Content = stackLayout;
Content.GestureRecognizers.Add(tgr);
BackgroundImage = "bg.png";
BindingContext = Model;
}