Xamarin Forms is great for developing apps on Android, iOS, and Universal Windows Platform (UWP) but it is missing some important features:
•Scalable images
•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
dotnet add package Forms9Patch.NetStandard --version
<PackageReference Include="Forms9Patch.NetStandard" Version="">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Forms9Patch.NetStandard --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes Fix: Android renderers use Android SDK calls not supported by Gingerbread; 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; Fix: Crash on older versions of Windows; Change: IPopup is public; Full UWP support; NetStandard >=1.3 support

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 898 1/5/2018 410 1/4/2018 296 1/2/2018
1.0.0 614 12/28/2017