Hi
       I am working on android app. but i stuck at one point when i
tried to add SingleChoiceItems to alert dialog the alert message  gets
disapear.,i dont know why this happens here is my  code snippet.


                        //builder.setMessage(alertMessage).setCancelable(false);
                        builder.setSingleChoiceItems(alertChoices , -1, new
DialogInterface.OnClickListener() {
                @Override
                                        public void onClick(DialogInterface 
dialog, int which) {
                                                // TODO Auto-generated method 
stub

                                        }
             });

                        builder.setPositiveButton("Continue",
                                        new DialogInterface.OnClickListener() {
                                public void onClick(DialogInterface dialog,
                                                int id) {
                                        dialogRunning = false;
                                        dialog.cancel();
                                }
                        });
      I want to add both message and singlechoiceitems to  alert
dialog



thanks in advance

Regards

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to