on Dialog Configuration
open fun onDialogConfiguration(d: Dialog, m: DisplayMetrics, s: MutableSize, g: Int)
Content copied to clipboard
Called after onCreateDialog and onResume methods. You can override this method to change dialog configuration.
Parameters
d
Target dialog to configure
m
Device display metrics
s
Current dialog size
g
Current Dialog gravity