문제

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