Skip to content

Commit 3a52e74

Browse files
committed
Dialog add dark shadow flag
1 parent a362a6a commit 3a52e74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/droid/grupocelio/gavine/views/AccountDialog.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class AccountDialog : DialogFragment() {
3939
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
4040
val view = inflater!!.inflate(R.layout.fragment_account_dialog, container, false)
4141

42+
dialog!!.window?.addFlags(android.view.WindowManager.LayoutParams.FLAG_DIM_BEHIND);
4243
val btnCancel = view.findViewById<View>(R.id.dialog1) as Button
4344

4445
val textViewContent = view.findViewById<View>(R.id.dialog2) as TextView

0 commit comments

Comments
 (0)