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

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
{