Merge pull request #2377 from quizzmaster/fix_bolusdialog
BolusProgressDialog not cancelable
This commit is contained in:
commit
177c1e429f
|
@ -56,7 +56,7 @@ class BolusProgressDialog : DialogFragment() {
|
||||||
savedInstanceState: Bundle?): View? {
|
savedInstanceState: Bundle?): View? {
|
||||||
dialog?.window?.requestFeature(Window.FEATURE_NO_TITLE)
|
dialog?.window?.requestFeature(Window.FEATURE_NO_TITLE)
|
||||||
dialog?.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN)
|
dialog?.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN)
|
||||||
isCancelable = true
|
isCancelable = false
|
||||||
dialog?.setCanceledOnTouchOutside(false)
|
dialog?.setCanceledOnTouchOutside(false)
|
||||||
return inflater.inflate(R.layout.dialog_bolusprogress, container, false)
|
return inflater.inflate(R.layout.dialog_bolusprogress, container, false)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue