BolusProgressDialog not cancelable
This commit is contained in:
parent
ef4903253d
commit
4521434f4e
|
@ -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