Created
June 11, 2013 12:43
-
-
Save IAmKio/5756507 to your computer and use it in GitHub Desktop.
Android Dialog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment