I am trying to create an AlertDialog but the buttons are not showing. Only seeing this issue in Android 7.0:
final AlertDialog.Builder builder =
Maybe its too late, but I hope someone would use this solution. you can do it something like this: You should set onShowListenter to your alertDialog, inside this function you should getButton() and than setTextColor to it. An example:
alertDialog = alertDialogBuilder.create();
alertDialog.setOnShowListener(new DialogInterface.OnShowListener(){
@Override
public void onShow(DialogInterface dialogInterface){
alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setTextColor(R.color.black);
}
});