It is best to base yourself on RecyclerView to dynamically change those “Cards”
And if you want to add an ImageView within those “Cards”, use a CardView to do it. That’s pretty much what you need.
To further answer your question, you can have a random color generator in order to dynamically create those “Cards”.
Oh and this is what I meant by a “Card”.
Card
1
solved Best way to create feed post like this app? [closed]