Question

Does Xamarin support 9-patch images in a cross-platform way? The ideal would be to create the image from the same file for iOS, Android, and Windows.

Was it helpful?

Solution

As best I can tell, the answer appears to be "not in any way that makes sense for me to use." The best option is going to be to have separate image resources for each platform. The splat library does do some cross-platform image handling, but not 9-patch, and I'm not sure about its performance.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top