Dialogue from the Google Maps application:

screenshot

How to implement such AlertDialog, as in the screenshot?

2 answers 2

For the dialogue, create a separate layout, make the markup you need in it, and then setView() method for the dialogue. A good example is here.

    There is a convenient library for such purposes - Material Dialogs .

    In addition, you can use the standard Dialog , as described in this question: https://stackoverflow.com/questions/31583828

    • 2
      Try not to give bare links, but provide more information. In the case of a library, you can, at a minimum, specify a name instead of "here", add a short description, give examples, etc. - Athari