I am trying to create a popup window for android honeycomb like google docs application I followed this tutorial, I am able to get popup, but how to make it as modal window? How to create border effects like the one shown in image

I am trying to create a popup window for android honeycomb like google docs application I followed this tutorial, I am able to get popup, but how to make it as modal window? How to create border effects like the one shown in image

Try this.
Dialog d = new AlertDialog.Builder(Buddies.this,AlertDialog.THEME_HOLO_LIGHT)
.setTitle("Create New")
.setNegativeButton("Cancel", null)
.setItems(new String[]{"Document", "SpreadSheet","",""}, new DialogInterface.OnClickListener(){
@Override
public void onClick(DialogInterface dlg, int position)
{
if ( position == 0 )
{
}
else if(position == 1){
}
else if(position == 2){
}
}
})
.create();
d.show();