Pie.
Pie.

Reputation: 3

Alert dialog info button

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.

Alert Dialog info button

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

Answers (1)

Gastón Saillén
Gastón Saillén

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

Related Questions