I am using ProgressDialog in one of my android application. its showing me warning as above title. I have used it in java like below. This is not duplicate question. I have searched for solution but have not found it.
    mProgress = new ProgressDialog((this),R.style.AlertDialogTheme);
    mProgress.setCancelable(false);
    mProgress.getWindow().setGravity(Gravity.BOTTOM);
    mProgress.getWindow().setBackgroundDrawable(new ColorDrawable(Color.WHITE));
anyone can please suggest me this can cause error or it will not ? how can I solve it ?
 
     
    