LayoutParams 动态设置布局参数
LinearLayout linearLayout = new LinearLayout(context);
LinearLayout.LayoutParams linearLayoutParas = new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.FILL_PARENT,
LinearLayout.LayoutParams.WRAP_CONTENT);
linearLayout.setLayoutParams(linearLayoutParas);