Reputation: 3
I am a beginner in android programming and I have noticed, that my tablet Sony Xperia Z4 (Android 6.0) got an alert dialog with 3 buttons: positive, negative and the other one, see in the picture below. This is main menu, not my application.
My question: is this a custom dialog? I have never met with this type of button in alert dialog.
Thank you.
EDIT:
Duplicate? I don't think so... AlertDialog.Builder with custom layout and EditText; cannot access view
Why?
Upvotes: 0
Views: 454
Reputation: 13159
This is not an AlertDialog, instead is just a Dialog with a custom layout, you can do it, you can bind buttons and views to a Dialog and make a custom one like the image you posted. Here is a post that might help you out
How to create a Custom Dialog box in android?
Upvotes: 1