Set content to the edge of Cardview up to 5.0

I use the layout CardViewfrom the v7 support library as the main design pattern in my application. It works great on Lollipop, as you would expect, and looks like this:

enter image description here

If I run the same application in 4.4 or below the contents of the map, do not go to the edge, as shown here:

enter image description here

Is there a way to get content to go around the edges on all versions of Android, and not just on 5.0?

thank

+4
source share
1 answer

, CardView , , Lollipop. - . , :

cardView.setPreventCornerOverlap(false);

, ImageView . ImageView ( Drawable, Picasso transfromation...), . Gist , .

, , .

+4

All Articles