I want to create a custom dialog with the layout as shown in the picture. The cross/cl
might be below code is useful for you,achieved like this