setDismissOrientation

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

Parameters

orientation

use on of the Gravity constants; default: start