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