I would like to make my own dialog, completely drawn myself, as a custom view. Can I display it in such a way that it displays above all other views and that all touch events, even those outside the dialog’s area, are redirected to the dialog?
Share
I find that using a transparent activity and startActivityForResult() gives me a total freedom how I want my “dialog” to look and behave. So I suggest you check it out: How do I create a transparent Activity on Android?
With full screen and a darker background of your choice:
Then in strings.xml:
If you want to blur the screen of the previous activity then use this line before setContentView: