ProgressDialog设置位置
LayoutParams params = recordProgress.getWindow().getAttributes();params.y = 100;params.gravity = Gravity.TOP;recordProgress.getWindow().setAttributes(params);