1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-21 11:53:15 +00:00

Added Scale to device info service. Stack layout padding adjsutments depending on android scale.

This commit is contained in:
Kyle Spearrin
2016-08-25 21:43:47 -04:00
parent 5ff9131910
commit 0cdba2a13d
12 changed files with 79 additions and 10 deletions

View File

@@ -86,7 +86,7 @@ namespace Bit.App.Controls
{
if(deviceInfo.Version < 21)
{
Entry.Margin = new Thickness(-9, 0);
Entry.Margin = new Thickness(-9, 1, -9, 0);
}
else if(deviceInfo.Version == 21)
{
@@ -97,6 +97,11 @@ namespace Bit.App.Controls
{
Entry.AdjustMarginsForDevice();
}
if(containerPadding == null)
{
imageStackLayout.AdjustPaddingForDevice();
}
}
if(!useLabelAsPlaceholder)