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
Asked
Active
Viewed 6,273 times
3
-
That must be one of [AlertDialog](http://developer.android.com/guide/topics/ui/dialogs.html#AlertDialog) flavors? – slkorolev Oct 27 '11 at 07:06
1 Answers
8
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();

jainal
- 2,973
- 2
- 20
- 18