Merge pull request #74 from AdrianLxM/patch-2
Make bolus progress dialog not cancalable
This commit is contained in:
commit
9f774395c0
1 changed files with 1 additions and 2 deletions
|
@ -54,11 +54,10 @@ public class BolusProgressDialog extends DialogFragment implements View.OnClickL
|
||||||
statusView = (TextView) view.findViewById(R.id.overview_bolusprogress_status);
|
statusView = (TextView) view.findViewById(R.id.overview_bolusprogress_status);
|
||||||
stopPressedView = (TextView) view.findViewById(R.id.overview_bolusprogress_stoppressed);
|
stopPressedView = (TextView) view.findViewById(R.id.overview_bolusprogress_stoppressed);
|
||||||
progressBar = (ProgressBar) view.findViewById(R.id.overview_bolusprogress_progressbar);
|
progressBar = (ProgressBar) view.findViewById(R.id.overview_bolusprogress_progressbar);
|
||||||
|
|
||||||
stopButton.setOnClickListener(this);
|
stopButton.setOnClickListener(this);
|
||||||
progressBar.setMax(100);
|
progressBar.setMax(100);
|
||||||
statusView.setText(MainApp.sResources.getString(R.string.waitingforpump));
|
statusView.setText(MainApp.sResources.getString(R.string.waitingforpump));
|
||||||
|
setCancelable(false);
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue