0

I want to make options select design with two radio buttons selections. Like image below. Please help to do this.

enter image description here

user3098538
  • 1,201
  • 3
  • 13
  • 15

1 Answers1

1
        AlertDialog.Builder builder = new AlertDialog.Builder(mContext);
        builder.setSingleChoiceItems(new CharSequence[] {"Item1", "Item2"}, 0, new DialogInterface.OnClickListener() {

            @Override
            public void onClick(DialogInterface dialog, int which) {
                // TODO Auto-generated method stub

            }
        });
        builder.create().show();

Here you can create a dialog with radio button and text

SKT
  • 1,821
  • 1
  • 20
  • 32