package Ġapps . j iz zu . simp let odo . ui . dialogs . base Ċ Ċ import Ġandroid . graphics . Color Ċ import Ġandroid . graphics . drawable . Color Drawable Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroid . view . Window Ċ import Ġandroidx . fragment . app . Dialog Fragment Ċ import Ġapps . j iz zu . simp let odo . R Ċ Ċ abstract Ġclass ĠBase Dialog Fragment Ġ: ĠDialog Fragment () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠĠĠĠĠ Ġdialog ?. window ?. apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrequest Feature ( Window . FEATURE _ NO _ TITLE ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset Background Drawable ( Color Drawable ( Color . TRANSP ARENT )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġattributes ?. window Animations Ġ= ĠR . style . Dialog Animation ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonStart () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onStart () ĊĠĠĠĠĠĠĠ Ġdialog ?. window ?. setLayout ( resources . get Dimension Pixel Size ( R . dim en . dialog _ width ), ĠViewGroup . LayoutParams . WRAP _ CONTENT ) ĊĠĠĠ Ġ} Ċ }