Skip to content

Simplify image management and text formatting in your Xamarin.Forms apps

License

Notifications You must be signed in to change notification settings

oleg-ua/Forms9Patch

 
 

Repository files navigation

Forms9Patch Alt text

A suite of elements built to simplify image management, text formatting, PNG generation, PDF generation, and printing for your NetStandard, PCL, and Shared Library Xamarin.Forms iOS, Android and UWP applications.

You can learn more at https://baskren.github.io/Forms9Patch/index.html

Overview

Xamarin Forms is great for developing cross platform applications (certainly very sane) but it is missing some important features:

  • Patch scalable images
  • SVG images
  • Single point of use, cross platform, multi-screen / multi-resolution image management
  • Simple, markup formatted text for labels and buttons
  • Single point of use, cross platform, custom font management
  • Segmented button control
  • Pop-ups as a first class layout element
  • Multi-object Clipboard and Inter-app Data Sharing
  • PNG and PDF generation
  • Printing

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. Custom fonts are a bit more complicated and label layouts take things up another notch. Forms9Patch enhances Xamarin Forms to make multi-resolution / multi-screen image management, custom fonts, and HTML text formatting easy for NetStandard, PCL and Shared Library applications for iOS, Android and UWP.

Documentation

There are a number of guides to get you started:

If you want to learn more (or findout about Forms9Patch features not in the above guides):

Demos

Demo apps are in the Demo folder of this repository.

About

Simplify image management and text formatting in your Xamarin.Forms apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 88.5%
  • JavaScript 6.2%
  • CSS 5.1%
  • Liquid 0.2%