Unverified Commit c3179512 authored by Mugurell's avatar Mugurell Committed by GitHub
Browse files

For #16500 - Ensure CardView clips ImageView on lower APIs (#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.
parent c427ebf8
......@@ -88,6 +88,7 @@ A FrameLayout here is an efficient way of having a views stack while allowing:
<androidx.cardview.widget.CardView
android:id="@+id/mozac_browser_tabstray_card"
style="@style/Widget.MaterialComponents.CardView"
android:layout_width="match_parent"
android:layout_height="@dimen/tab_tray_grid_item_thumbnail_height"
android:backgroundTint="?tabTrayThumbnailItemBackground"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment