setDismissOrientation

fun setDismissOrientation(orientation: Int)

Set the orientation of the close button, can be Gravity.START or Gravity.END