0

Google Map Location screen

Hi all,

I lost my old stackoverflow account, had to start from scratch now. Any how...

I am trying to understand the implementation for Google Maps Android app. I want to create a similar screen where, the recycler view will scroll up to the toolbar. I have implemented the same with NestedScrollView and BottomSheet Behavior. But my question is about the list items. Especially the timings sections shows an expandable option, are these

  • Cardview with visibility toggle added via adapter or
  • Are they RecyclerView.ItemDecoration

Please help in understanding the best way to achieve this.

Happy coding..

rahu1613
  • 11
  • 3

1 Answers1

0

It's not a recyclerview layout. It looks like a coordinator layout with a nested collapsingtoolbarlayout and a nestedscrollview. Here is a link to an example on how to set one up. Also, here is a video tutorial on how to set one up if you'd rather learn that way.

<--Edit-->

Also, the "Save in your lists" is a popup menu like the default settings button. An implementation of this is shown in this answer on Stack Overflow.

J. Jefferson
  • 851
  • 6
  • 12
  • thanks for your response. But my question is not about the collapsible view, its about the items in it. Especially the 'Expandable view' for store timings(Ref. Screen shot). – rahu1613 Jul 16 '18 at 19:28