小程序:扫一扫查出行【扫一扫了解最新限行尾号】复制小程序 定义:
private RelativeLayout mrlay;
调高度:
mrlay = (RelativeLayout) findViewById(R.id.rlay_1);
android.view.ViewGroup.LayoutParams pp =mrlay.getLayoutParams();
//mrlayt.getLayoutParams();
pp.height =180;
mrlay.setLayoutParams(pp);