I've created a Dialog that appears when a button is clicked. I made a custom layout for it and coded it like this:
final Dialog dialog = new Dialog (CheckpointsActivity.this, android.R.style.Theme_Translucent);
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
dialog.setContentView(R.layout.alert_continue);
//rest of the code...
This is how the Dialog looks now:
And this is how I want it to look like:
It should be a lot darker in the background with a gradient effect. I can't seem to find any info on how to achieve this.