RelativeLayout.LayoutParams rlp = (RelativeLayout.LayoutParams) holder.service_text_info.getLayoutParams();
rlp.width = mWidth;
rlp.height = mWidth;
rlp.setMargins(DubToolUtils.dip2px(mContext,15), DubToolUtils.dip2px(mContext,15),0,0);
android代码设置宽高
猜你喜欢
转载自blog.csdn.net/dubo_csdn/article/details/94738464
今日推荐
周排行