Android - How to show the close button on top right corner?

hi all,

We wanna add the close button on the top right corner of the screen. Does anyone know how to do it on Android?
I’ve searched and found the flag but only work on iOS if we set closable = true.

Thank a lot for helping