title: AlertDialog not showing items with Material Component Theme
body: <p>How do I show items inside AlertDialog.Only Alert Dialog is shown without any items I am trying this below code but this doesn't seem to be working:</p>
  
  <pre><code>CharSequence[] choices = {"Choice1", "Choice2", "Choice3"};
  
  AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context)
  .setTitle(context.getString(R.string.title))
  .setPositiveButton(context.getString(R.string.Ok), null)
                              .setNeutralButton(context.getString(R.string.Cancel), null)
  .setSingleChoiceItems(choices, 1, null);
  
  AlertDialog alertDialog = alertDialogBuilder.create();
  alertDialog.show();
  </code></pre>
  
  <p>I am using material components styles:</p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar"&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/mLiWr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mLiWr.png" alt="enter image description here"></a></p>