How to change the color of single choice alert dialog?
<p>How do I change the colour of a radio button? The image below shows that the radio buttons are blue by default but I would like to change this.</p>

<p><a href="https://i.stack.imgur.com/M3nD4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/M3nD4.png" alt="enter image description here"></a></p>

<p>My code is:</p>

<pre><code> AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(
                    context);
            alertDialogBuilder.setCustomTitle(promptsView);
            alertDialogBuilder.setItems(frequencyName, null);
            // alertDialogBuilder.setTitle("SELECT FREQUENCY");


            alertDialogBuilder.setSingleChoiceItems(frequencyName, -1, new DialogInterface.OnClickListener() {
                @Override
                public void onClick(DialogInterface dialogInterface, int i) {

                    selectedFre = frequencyName[i];
                }
            });

            alertDialogBuilder
                    .setCancelable(false)
                    .setPositiveButton("OK",
                            new DialogInterface.OnClickListener() {
                                public void onClick(DialogInterface dialog, int id) {

                                    txtFrequency.setText(selectedFre);
                                }
                            })
                    .setNegativeButton("Cancel",
                            new DialogInterface.OnClickListener() {
                                public void onClick(DialogInterface dialog, int id) {
                                    dialog.cancel();
                                }
                            });


            AlertDialog alertDialog = alertDialogBuilder.create();


            alertDialog.show();
</code></pre>