How to make such a window?

1) it should scroll like in the pictures
2) In one of the pictures there is a Google map. She does not move, I have never seen such a thing. Did they use enable = false?

PS Admins see what cumbersome themes are obtained from the fact that the pictures can not be hidden in the spoilers. Which as on other sites open and close

enter image description here enter image description here

Closed due to the fact that the essence of the question is not clear to the participants Andro , user194374, pavel , Mikhail Vaysman , Denis Bubnov 28 Feb '17 at 7:14 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • The scrolling in the pictures is not visible, how the spoilers are done on the meta is written, the markup is made according to this template: github.com/chrisbanes/cheesesquare , and the map is MapView - YuriiSPb
  • @Yuriy SPb, you better tell me. Is this all manually done or is there a ready-made library? I see this design in all applications. But I can not do it myself. As if this is some kind of ready-made fragment, Google did not find it in sdk - Andro
  • one
    It’s hard to imagine simplifying as much as possible. Just a coordinator in which 2 containers. One above, the other below. Just copy the markup from the example and modify it to your liking - YuriySPb
  • @ YuriSPb, ATP did. And 2 question about google maps. How to make it like in the picture. Tobish there is a card but it does not scroll and is not pressed. focus does not assume. It doesn’t look like a map, but rather like an image - Andro
  • As I wrote above - this is MapView. Perhaps she needs to register liteMode. And you can also get a picture via Google Api with a location - YuriySPb

1 answer 1

The markup is made for this template: github.com/chrisbanes/cheesesquare,

Briefly - we take CoordinatorLayout with 2 children - AppBarLayout and a content container with the app:layoutBehaviour

A map is a MapView with an easy mode (liteMode) or just a picture obtained through Google api for maps (send coordinates - we get a picture-map)