CustomView Xamarin Android Custom View sample 博客 Known issue: york:image="@drawable/Icon" //不能用,会报错 Has fixed this issue: 图片名称中不要有大写,eg: Icon 具体问题请看: https://www.jianshu.com/p/7ad527ed6daa