• LinearLayout 、RelativeLayout 1)继承LinearLayout、RelativeLayout方法 2)重写protected void onFinishInflate() 方法,进行变量的声明,和监听的声明