FrameLayout fl_center=(FrameLayout)findViewById(R.id.fl_center);
fl_center.getLayoutParams().width=screenWidth;
fl_center.getLayoutParams().height= (screenHeight*111)/128;
FrameLayout fl_center=(FrameLayout)findViewById(R.id.fl_center);
fl_center.getLayoutParams().width=screenWidth;
fl_center.getLayoutParams().height= (screenHeight*111)/128;
本文标题:动态设置FrameLayout的宽度和高度
本文链接:https://www.haomeiwen.com/subject/nlpduttx.html
网友评论