How to create a masonry layout in android

I have recently started learning android and now I am trying to create a notes taking app like google keep but I wanted to know that how can I create the masonry layout like that of the google keep.

Thanks in advance

>Solution :

You can create view using the RecyclerView and use StaggeredGridLayoutManager to create masonry layout Effect.

For further details on how to implement this you can check this example.

Leave a Reply