Android 动态设置 layout_centerInParent
时间:2016-11-24 14:40:31
收藏:0
阅读:795
RelativeLayout.LayoutParams rp = new RelativeLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); rp.addRule(RelativeLayout.CENTER_IN_PARENT);
记录一下
原文:http://www.cnblogs.com/IWings/p/6097134.html
评论(0)