mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 10:34:07 +00:00
Android vault add/edit/view button widths, padding, and background color adjusted.
This commit is contained in:
@@ -84,17 +84,19 @@ namespace Bit.App.Controls
|
||||
|
||||
if(Device.OS == TargetPlatform.Android)
|
||||
{
|
||||
//if(Button1 != null)
|
||||
//{
|
||||
// Button1.Padding = new Thickness(5);
|
||||
// Button1.BackgroundColor = Color.Transparent;
|
||||
//}
|
||||
//if(Button2 != null)
|
||||
//{
|
||||
// Button2.Padding = new Thickness(5);
|
||||
// Button2.BackgroundColor = Color.Transparent;
|
||||
//}
|
||||
|
||||
buttonStackLayout.Spacing = 5;
|
||||
|
||||
if(Button1 != null)
|
||||
{
|
||||
Button1.Padding = new Thickness(0);
|
||||
Button1.BackgroundColor = Color.Transparent;
|
||||
}
|
||||
if(Button2 != null)
|
||||
{
|
||||
Button2.Padding = new Thickness(0);
|
||||
Button2.BackgroundColor = Color.Transparent;
|
||||
}
|
||||
|
||||
containerStackLayout.AdjustPaddingForDevice();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user