It is necessary to solve the problem of displaying pictures that have not yet loaded. I implement one application using CardView . Each element is a layout with an ImageView .
I would like to see the silhouette of a picture or at least a white square equal to the size of the picture, the size of the picture is previously known, it is also necessary that the picture be the full width of one card (Element), and the height was chosen proportionally.
How can this thing be realized, maybe there are ready-made solutions, or maybe I am doing something wrong or do not understand.