0

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?

  • User got a problem with accessing an edit text in his dialog.
  • My question is, if dialog in my tablet is CUSTOM. Nothing else :)
Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Pie.
  • 3
  • 3

1 Answers1

1

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?

Gastón Saillén
  • 12,319
  • 5
  • 67
  • 77