1.想让xml布局于继承自viewgroup的自定义控件联系起来,在自定义控件中LayoutInflater的时候需要这么写 1 View view = LayoutInflater.from(this.getContext()).inflate(R.layout.layout_refreshing,this); 赞微海报分享
近期评论