diff --git a/src/App/Controls/LabeledValueCell.cs b/src/App/Controls/LabeledValueCell.cs index 4285a6813..28c335615 100644 --- a/src/App/Controls/LabeledValueCell.cs +++ b/src/App/Controls/LabeledValueCell.cs @@ -84,21 +84,21 @@ namespace Bit.App.Controls if(Device.OS == TargetPlatform.Android) { - if(Button1 != null) - { - Button1.Padding = new Thickness(5); - } - if(Button2 != null) - { - Button2.Padding = new Thickness(5); - } - - + //if(Button1 != null) + //{ + // Button1.Padding = new Thickness(5); + // Button1.BackgroundColor = Color.Transparent; + //} + //if(Button2 != null) + //{ + // Button2.Padding = new Thickness(5); + // Button2.BackgroundColor = Color.Transparent; + //} + containerStackLayout.AdjustPaddingForDevice(); } containerStackLayout.Children.Add(buttonStackLayout); - View = containerStackLayout; } diff --git a/src/App/Pages/HomePage.cs b/src/App/Pages/HomePage.cs index 18799edb9..d27d31e9e 100644 --- a/src/App/Pages/HomePage.cs +++ b/src/App/Pages/HomePage.cs @@ -65,7 +65,8 @@ namespace Bit.App.Pages VerticalOptions = LayoutOptions.End, Style = (Style)Application.Current.Resources["btn-primaryAccent"], HorizontalOptions = LayoutOptions.Fill, - BackgroundColor = Color.Transparent + BackgroundColor = Color.Transparent, + FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Button)) }; var buttonStackLayout = new StackLayout diff --git a/src/App/Pages/Tools/ToolsAutofillServicePage.cs b/src/App/Pages/Tools/ToolsAutofillServicePage.cs index de69fdce5..6f7523141 100644 --- a/src/App/Pages/Tools/ToolsAutofillServicePage.cs +++ b/src/App/Pages/Tools/ToolsAutofillServicePage.cs @@ -45,12 +45,13 @@ namespace Bit.App.Pages Text = "See Development Progress", Command = new Command(() => { - _googleAnalyticsService.TrackAppEvent("SeeProgress"); + _googleAnalyticsService.TrackAppEvent("SeeAutofillProgress"); Device.OpenUri(new Uri("https://github.com/bitwarden/mobile/issues/1")); }), VerticalOptions = LayoutOptions.End, HorizontalOptions = LayoutOptions.Fill, - Style = (Style)Application.Current.Resources["btn-primary"] + Style = (Style)Application.Current.Resources["btn-primary"], + FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Button)) }; var stackLayout = new StackLayout diff --git a/src/App/Pages/Vault/VaultListSitesPage.cs b/src/App/Pages/Vault/VaultListSitesPage.cs index 39d681188..be2b55228 100644 --- a/src/App/Pages/Vault/VaultListSitesPage.cs +++ b/src/App/Pages/Vault/VaultListSitesPage.cs @@ -128,9 +128,10 @@ namespace Bit.App.Pages { var addSiteButton = new ExtendedButton { - Text = "Add a site", - IsVisible = !_favorites, - Command = new Command(() => AddSite()) + Text = "Add a Site", + Command = new Command(() => AddSite()), + Style = (Style)Application.Current.Resources["btn-primaryAccent"], + FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Button)) }; NoDataStackLayout.Children.Add(addSiteButton);