styling updates to ios
@ -59,7 +59,8 @@ namespace Bit.App.Controls
|
|||||||
Text = button1Text,
|
Text = button1Text,
|
||||||
HorizontalOptions = LayoutOptions.End,
|
HorizontalOptions = LayoutOptions.End,
|
||||||
VerticalOptions = LayoutOptions.Center,
|
VerticalOptions = LayoutOptions.Center,
|
||||||
Margin = new Thickness(0)
|
Margin = new Thickness(0),
|
||||||
|
TextColor = Color.FromHex("3c8dbc")
|
||||||
};
|
};
|
||||||
|
|
||||||
buttonStackLayout.Children.Add(Button1);
|
buttonStackLayout.Children.Add(Button1);
|
||||||
@ -72,7 +73,8 @@ namespace Bit.App.Controls
|
|||||||
Text = button2Text,
|
Text = button2Text,
|
||||||
HorizontalOptions = LayoutOptions.End,
|
HorizontalOptions = LayoutOptions.End,
|
||||||
VerticalOptions = LayoutOptions.Center,
|
VerticalOptions = LayoutOptions.Center,
|
||||||
Margin = new Thickness(0)
|
Margin = new Thickness(0),
|
||||||
|
TextColor = Color.FromHex("3c8dbc")
|
||||||
};
|
};
|
||||||
|
|
||||||
buttonStackLayout.Children.Add(Button2);
|
buttonStackLayout.Children.Add(Button2);
|
||||||
|
@ -19,6 +19,14 @@ namespace Bit.iOS.Extension
|
|||||||
|
|
||||||
public Context Context { get; set; }
|
public Context Context { get; set; }
|
||||||
|
|
||||||
|
public override void ViewWillAppear(bool animated)
|
||||||
|
{
|
||||||
|
UINavigationBar.Appearance.ShadowImage = new UIImage();
|
||||||
|
UINavigationBar.Appearance.SetBackgroundImage(new UIImage(), UIBarMetrics.Default);
|
||||||
|
|
||||||
|
base.ViewWillAppear(animated);
|
||||||
|
}
|
||||||
|
|
||||||
public override void ViewDidLoad()
|
public override void ViewDidLoad()
|
||||||
{
|
{
|
||||||
base.ViewDidLoad();
|
base.ViewDidLoad();
|
||||||
|
@ -54,6 +54,9 @@ namespace Bit.iOS
|
|||||||
Resolver.Resolve<IFingerprint>(),
|
Resolver.Resolve<IFingerprint>(),
|
||||||
Resolver.Resolve<ISettings>()));
|
Resolver.Resolve<ISettings>()));
|
||||||
|
|
||||||
|
UINavigationBar.Appearance.ShadowImage = new UIImage();
|
||||||
|
UINavigationBar.Appearance.SetBackgroundImage(new UIImage(), UIBarMetrics.Default);
|
||||||
|
|
||||||
return base.FinishedLaunching(app, options);
|
return base.FinishedLaunching(app, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Bit.App.Controls;
|
using Bit.App.Controls;
|
||||||
using Bit.iOS.Controls;
|
using Bit.iOS.Controls;
|
||||||
|
using Foundation;
|
||||||
using UIKit;
|
using UIKit;
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
using Xamarin.Forms.Platform.iOS;
|
using Xamarin.Forms.Platform.iOS;
|
||||||
@ -19,6 +20,10 @@ namespace Bit.iOS.Controls
|
|||||||
TabBar.TintColor = page.TintColor.ToUIColor();
|
TabBar.TintColor = page.TintColor.ToUIColor();
|
||||||
TabBar.BarTintColor = page.BarTintColor.ToUIColor();
|
TabBar.BarTintColor = page.BarTintColor.ToUIColor();
|
||||||
TabBar.BackgroundColor = page.BackgroundColor.ToUIColor();
|
TabBar.BackgroundColor = page.BackgroundColor.ToUIColor();
|
||||||
|
|
||||||
|
// remove top border
|
||||||
|
// ref: http://stackoverflow.com/questions/14371343/ios-uitabbar-remove-top-shadow-gradient-line
|
||||||
|
TabBar.SetValueForKeyPath(FromObject(true), new NSString("_hidesShadow"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void ViewWillAppear(bool animated)
|
public override void ViewWillAppear(bool animated)
|
||||||
|
Before Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 515 B |
Before Width: | Height: | Size: 595 B |
Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 137 B |
@ -264,15 +264,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BundleResource Include="Resources\fa-lock%403x.png" />
|
<BundleResource Include="Resources\fa-lock%403x.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<BundleResource Include="Resources\ion_chevron_right.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<BundleResource Include="Resources\ion_chevron_right%402x.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<BundleResource Include="Resources\ion_chevron_right%403x.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BundleResource Include="Resources\Icon-120.png" />
|
<BundleResource Include="Resources\Icon-120.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|