I\'m developing an Android application.
How can I center the title for a custom dialog that I\'m using?
In Kotlin, you can do it in 1 line
dialog!!.window!!.attributes = dialog!!.window!!.attributes.apply { dimAmount = 0F }