1
0
Fork 0
mirror of https://github.com/bitwarden/android.git synced 2024-12-30 12:58:29 +03:00

small padding adjustments

This commit is contained in:
Kyle Spearrin 2016-08-25 22:31:11 -04:00
parent 0cdba2a13d
commit 18ff80875a
2 changed files with 1 additions and 7 deletions
src
Android/Controls
App/Utilities

View file

@ -31,12 +31,6 @@ namespace Bit.Android.Controls
}
}
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
{
base.OnElementPropertyChanged(sender, e);
var view = (ExtendedTabbedPage)Element;
}
void TabLayout.IOnTabSelectedListener.OnTabSelected(TabLayout.Tab tab)
{
if(Element == null)

View file

@ -72,7 +72,7 @@ namespace Bit.App
var deviceInfo = Resolver.Resolve<IDeviceInfoService>();
if(deviceInfo.Scale == 1) // mdpi
{
view.Padding = new Thickness(21, view.Padding.Top, 21, view.Padding.Bottom);
view.Padding = new Thickness(22, view.Padding.Top, 22, view.Padding.Bottom);
}
else if(deviceInfo.Scale < 2) // hdpi
{