Android create item in GridView with round corners and ImageView -
I have a GriView in which each element is a card in which there are round corners, I have an image full of net on top of it . I would like to fit the image inside the card so that it can be rounded to the top corners. I have tried the layer-list background, but no results.
In advance thanks
I have found a solution: just a spherical image view Insert (rectangular rear of opaque relative layout) (bottom side only in rounded corners) and then set a negative bottom margin in the image view, so that it will be covered by relative layout for approximately 5 pi
Comments
Post a Comment