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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top