postInvalidate、invalidate:会调用控件的onDraw()重绘控件
refreshDrawableState:当控件在使用一个对控件状态敏感的Drawable对象时使用,如一个Button被按下时可以调用该方法,用来改变背景drawable的颜色(参照CompoundButton->setChecked)
removeAllViewsInLayout:删除所有的View
postInvalidate、invalidate:会调用控件的onDraw()重绘控件
refreshDrawableState:当控件在使用一个对控件状态敏感的Drawable对象时使用,如一个Button被按下时可以调用该方法,用来改变背景drawable的颜色(参照CompoundButton->setChecked)
removeAllViewsInLayout:删除所有的View