ProgressDialog dialog = ProgressDialog.show(AContext, "Test", "On the bottom"); dialog.getWindow().setGravity(Gravity.BOTTOM);