1. 自定义View 加载出错.net
不要用只带Context参数的构建方法,试试使用此种构建方法(Context context, AttributeSet attrs)方法
from http://bbs.csdn.net/topics/370101821top