onDialogConfiguration

open fun onDialogConfiguration(d: Dialog, m: DisplayMetrics, s: MutableSize, g: Int)

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