1.设置宽高
LinearLayout mPullListView =new LinearLayout(this);
mPullListView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
//注意顺序mLinearLayout.addView(mPullListView);
1.设置宽高
LinearLayout mPullListView =new LinearLayout(this);
mPullListView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
//注意顺序