title: AlertDialog error: You need to use a Theme.AppCompat theme (or descendant) with this activity
body: <p>I got this issue and dont know how to fix it. here my manifest</p>
  
  <pre><code>&lt;activity
          android:name=".MainActivity"
          android:label="@string/title_activity_main"
          android:theme="@style/Theme.AppCompat.NoActionBar" /&gt;
  </code></pre>
  
  <p>here my onclick in listAdapter</p>
  
  <pre><code>holder.iconDelete.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              //need to confirm it first
              new AlertDialog.Builder(context)
                      .setTitle("Delete Setcard")
                      .setMessage("Do you really want to delete setcard?")
                      .setIcon(android.R.drawable.ic_dialog_alert)
                      .setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
  
                          public void onClick(DialogInterface dialog, int whichButton) {
                              //run API volley
                              deleteSetcard(setcard_id);
                          }})
                      .setNegativeButton(android.R.string.no, null).show();
          }
      });
  </code></pre>
  
  <p>I tried other solution like changing the theme using Theme.AppCompat.Light</p>
  
  <p>but none working</p>