android.widget.RelativeLayout.LayoutParams layoutParams = (android.widget.RelativeLayout.LayoutParams)xRefreshView.getLayoutParams();
layoutParams.bottomMargin = ScreenUtils.dp2px(mContext, 45);
android.widget.RelativeLayout.LayoutParams layoutParams = (android.widget.RelativeLayout.LayoutParams)xRefreshView.getLayoutParams();
layoutParams.bottomMargin = 0;
注意一定要动态的在代码中注册!!!!