new icons for ios. new renderers for editor, picker, table view. android style changes.
39
src/iOS/Controls/ExtendedTableViewRenderer.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using Bit.App.Controls;
|
||||
using Bit.iOS.Controls;
|
||||
using UIKit;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Platform.iOS;
|
||||
|
||||
[assembly: ExportRenderer(typeof(ExtendedTableView), typeof(ExtendedTableViewRenderer))]
|
||||
namespace Bit.iOS.Controls
|
||||
{
|
||||
public class ExtendedTableViewRenderer : TableViewRenderer
|
||||
{
|
||||
protected override void OnElementChanged(ElementChangedEventArgs<TableView> e)
|
||||
{
|
||||
base.OnElementChanged(e);
|
||||
|
||||
var view = e.NewElement as ExtendedTableView;
|
||||
if(view != null)
|
||||
{
|
||||
CorrectMargins(view);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
base.OnElementPropertyChanged(sender, e);
|
||||
|
||||
var view = (ExtendedTableView)Element;
|
||||
|
||||
CorrectMargins(view);
|
||||
}
|
||||
|
||||
private void CorrectMargins(ExtendedTableView view)
|
||||
{
|
||||
Control.ContentInset = new UIEdgeInsets(-10, 0, -100, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,6 +31,10 @@
|
||||
<string>1.0</string>
|
||||
<key>CFBundleIconFiles</key>
|
||||
<array>
|
||||
<string>Icon-72@2x.png</string>
|
||||
<string>Icon-72.png</string>
|
||||
<string>Icon@2x.png</string>
|
||||
<string>Icon.png</string>
|
||||
<string>Icon-60@2x.png</string>
|
||||
<string>Icon-76.png</string>
|
||||
<string>Icon-76@2x.png</string>
|
||||
@@ -39,6 +43,8 @@
|
||||
<string>Default-568h@2x.png</string>
|
||||
<string>Default-Portrait.png</string>
|
||||
<string>Default-Portrait@2x.png</string>
|
||||
<string>Icon-Small-50@2x.png</string>
|
||||
<string>Icon-Small-50.png</string>
|
||||
<string>Icon-Small-40.png</string>
|
||||
<string>Icon-Small-40@2x.png</string>
|
||||
<string>Icon-Small.png</string>
|
||||
@@ -48,5 +54,19 @@
|
||||
<string>LaunchScreen</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.0.1</string>
|
||||
<key>UIMainStoryboardFile~ipad</key>
|
||||
<string>LaunchScreen</string>
|
||||
<key>UIStatusBarTintParameters</key>
|
||||
<dict>
|
||||
<key>UINavigationBar</key>
|
||||
<dict>
|
||||
<key>Style</key>
|
||||
<string>UIBarStyleDefault</string>
|
||||
<key>Translucent</key>
|
||||
<false/>
|
||||
<key>BackgroundImage</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
BIN
src/iOS/Resources/Icon-120.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
src/iOS/Resources/Icon-152.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
src/iOS/Resources/Icon-16.png
Normal file
|
After Width: | Height: | Size: 342 B |
BIN
src/iOS/Resources/Icon-24.png
Normal file
|
After Width: | Height: | Size: 543 B |
BIN
src/iOS/Resources/Icon-32.png
Normal file
|
After Width: | Height: | Size: 568 B |
BIN
src/iOS/Resources/Icon-40.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
src/iOS/Resources/Icon-40@2x.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
src/iOS/Resources/Icon-40@3x.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
src/iOS/Resources/Icon-60.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 15 KiB |
BIN
src/iOS/Resources/Icon-64.png
Normal file
|
After Width: | Height: | Size: 951 B |
BIN
src/iOS/Resources/Icon-72.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
src/iOS/Resources/Icon-72@2x.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 4.9 KiB |
BIN
src/iOS/Resources/Icon-Small-50.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
src/iOS/Resources/Icon-Small-50@2x.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 863 B |
|
Before Width: | Height: | Size: 955 B After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 4.3 KiB |
BIN
src/iOS/Resources/Icon.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
src/iOS/Resources/Icon@2x.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
src/iOS/Resources/Icon@3x.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
src/iOS/Resources/iTunesArtwork.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
src/iOS/Resources/iTunesArtwork@2x.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
@@ -101,6 +101,7 @@
|
||||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Controls\ExtendedTableViewRenderer.cs" />
|
||||
<Compile Include="Controls\ExtendedPickerRenderer.cs" />
|
||||
<Compile Include="Controls\ExtendedEntryRenderer.cs" />
|
||||
<Compile Include="Controls\ExtendedTabbedPageRenderer.cs" />
|
||||
@@ -112,8 +113,6 @@
|
||||
<None Include="Entitlements.plist" />
|
||||
<None Include="Info.plist" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<ITunesArtwork Include="iTunesArtwork" />
|
||||
<ITunesArtwork Include="iTunesArtwork@2x" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@@ -273,6 +272,63 @@
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\ion-plus%403x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-120.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-60.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-40%403x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-40%402x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-40.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-152.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-24.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-64.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-72.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-72%402x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-Small-50.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon-Small-50%402x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon%402x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="Resources\Icon%403x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ITunesArtwork Include="Resources\iTunesArtwork.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ITunesArtwork Include="Resources\iTunesArtwork%402x.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
|
||||
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 20 KiB |