Example #1
0
 private void hidepDialog() {
   if (btEnter.getProgress() == 100) {
     btEnter.setProgress(0);
     btEnter.setVisibility(View.GONE);
   }
 }
Example #2
0
 private void showpDialog() {
   if (btEnter.getProgress() == 0) {
     btEnter.setVisibility(View.VISIBLE);
     btEnter.setProgress(50);
   }
 }