I am trying to create an AlertDialog but the buttons are not showing. Only seeing this issue in Android 7.0:
AlertDialog
final AlertDialog.Builder builder =
I had a similar issue and the thing was that I wasn't using the support library for my AppCompatActivity, therefore I changed:
import android.app.AlertDialog;
to
import android.support.v7.app.AlertDialog;
and it worked.