//mLogin 是一个FrameLayout 布局view,对应的还有LinearLayout.LayoutParams,RelativeLayout.LayoutParams等
FrameLayout.LayoutParams linearParams = (FrameLayout.LayoutParams) mLogin.getLayoutParams();
linearParams.height = 200;
mlogin.setLayoutParams(linearParams);
//mLogin 是一个FrameLayout 布局view,对应的还有LinearLayout.LayoutParams,RelativeLayout.LayoutParams等
FrameLayout.LayoutParams linearParams = (FrameLayout.LayoutParams) mLogin.getLayoutParams();
linearParams.height = 200;
mlogin.setLayoutParams(linearParams);