I am making an app and in the user profile page I need to set up something like, a user can start typing the location and a new Google Maps intent is called. As user types the place name it will start listing out suggestions and when user selects one, he/she can see a piece of map in the profile page.
I have referred the latest Lollipop Google Calendar create event screen and it has similar implementation. Please refer the below screenshots;
To keep it simple, my requirement is
- The screen has a
EditText
which on typing will load a list of suggestions. This is loading from the Google maps database. - Once the user select one of the option from the list,
EditText
name should change to the selected one and then below that the piece of map view should also be shown.