Android自定义控件的步骤
*1.自定义属性的声明与获取.
*2.测量onMeasure
*3.布局onLayout(ViewGroup)
*4.绘制onDrow
*5.onTouchEvent
*6.onInterceptTouchEvent(ViewGroup)
*1.自定义属性的声明与获取.
*2.测量onMeasure
*3.布局onLayout(ViewGroup)
*4.绘制onDrow
*5.onTouchEvent
*6.onInterceptTouchEvent(ViewGroup)