Xamarin Forms is great for developing apps on Android, iOS, and Universal Windows Platform (UWP) but it is missing some important features:
•NetStandard, multi-screen / multi-resolution image management
•HTML formatted text for labels and buttons
•NetStandard custom font management
Android developers can use NinePatch bitmaps, the drawable directory naming convention, Html.FromHtml, and a bunch of complex file manipulations to address the image issue. Likewise, iOS developers can use ResizeableImageWithCapInsets, the @2x, @3x, @4x file naming convention, and some 3rd party libraries for this purpose. Forms9Patch enhances Xamarin Forms to make multi-resolution / multi-screen image management, custom fonts, and HTML text formatting easy for NetStandard apps for iOS, Android and UWP.
Install-Package Forms9Patch.NetStandard -Version 1.1.0
dotnet add package Forms9Patch.NetStandard --version 1.1.0
<PackageReference Include="Forms9Patch.NetStandard" Version="1.1.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Forms9Patch.NetStandard --version 1.1.0
22.214.171.124: New: SVGs are now valid image sources! Fixed: Shape outlines are not always full thickness; Button.Clicked event requires double click to fire on Android.
126.96.36.199: Fix: Android renderers use Android SDK calls not supported by Gingerbread;
188.8.131.52: Fix: Instantiation of popup, before App.MainPage set to Forms9Patch.RootPage, causes crash; iOS button text not always appearing; Fixed: Default padding not zero for Forms9Patch layouts (other than Frame); Changed: Forms9Patch.Frame is not longer obsolete; IPopup is public;
184.108.40.206: Fix: Crash on older versions of Windows; Change: IPopup is public;
220.127.116.11: Full UWP support; NetStandard >=1.3 support
This package is not used by any popular GitHub repositories.