1
I would like the help of you how to make this layout of the "Media" part in a particular Whatsapp Contact. Would this be CardView
whole called "Media".
It would be almost exactly the same way, I have no doubt about the Adapters, just doubt about the layout xml. The images would also be all the same size in this square.
And how will Recyclerview items look in that specific size? All squares exactly like the image?
– Lucas Santos
Squares can be obtained using a Cardview as the parent of your Rows
– Pedro Oliveira
I refer to the squares within the media and not the external ones that are Cardviews. Squares are the listed images within a horizontal view.
– Lucas Santos
I think it depends on the layout that defines each row (column in this case) of Recyclerview.
– ramaral
Of the two one. Either are simple imageviews with rounded corners, or else is another recyclerview but with vertical orientation
– Pedro Oliveira
@Pedrooliveira do not look at the cardviews, just look at what is under the text Media.
– ramaral
exactly what @ramaral said I also want to know.
– Lucas Santos
How can it be vertical if images are displayed horizontally?
– Lucas Santos
@ramaral tested what you put in the answer worked. I also managed to define the images that even in Whatsapp, I chose a little bigger for each item in the list that was 96dp. The problem now was that recyclerview does not get "wrap_content" even setting its height like this. It takes all the remaining space as if it were "match_parent". You know what it can be?
– Lucas Santos
Lucas, best is you create a new question where you should post the xml of that part and if possible an image.
– ramaral