From 9abf05e7fc20b2111ff905330ac3da3f3b731f04 Mon Sep 17 00:00:00 2001 From: Mugurell Date: Wed, 11 Nov 2020 20:10:12 +0200 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/16500 - Ensure CardView clips ImageView on lower APIs (https://github.com/mozilla-mobile/fenix/pull/16507) ImageViews are normally not clipped but extend to cover the entire width and height set. CardViews as a parent can help with that but on lower APIS they still need a shapeAppearance which is a property already in the added style. --- app/src/main/res/layout/tab_tray_grid_item.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/res/layout/tab_tray_grid_item.xml b/app/src/main/res/layout/tab_tray_grid_item.xml index fb1b56ba1b..dd83b20dc1 100644 --- a/app/src/main/res/layout/tab_tray_grid_item.xml +++ b/app/src/main/res/layout/tab_tray_grid_item.xml @@ -88,6 +88,7 @@ A FrameLayout here is an efficient way of having a views stack while allowing: