I am facing this weird issue.
I have an alert dialog with setPossitiveButton, but it doesn't shows on Nexus 5, only the message part shows up. I tried with neutral button also.
I verified this on another device of my friend (not nexus 5), and its working there too.
Is there something wrong with it ?
Below is the code:
new AlertDialog.Builder(this)
.setMessage(R.string.no_result)
.setCancelable(true)
.setOnCancelListener(new DialogInterface.OnCancelListener() {
@Override
public void onCancel(DialogInterface dialog) {
dialog.dismiss();
finish();
}})
.setNeutralButton(R.string.search_again, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
finish();
}})
.show();