mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[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.
This commit is contained in:
parent
f535d467cc
commit
9abf05e7fc
@ -88,6 +88,7 @@ A FrameLayout here is an efficient way of having a views stack while allowing:
|
|||||||
|
|
||||||
<androidx.cardview.widget.CardView
|
<androidx.cardview.widget.CardView
|
||||||
android:id="@+id/mozac_browser_tabstray_card"
|
android:id="@+id/mozac_browser_tabstray_card"
|
||||||
|
style="@style/Widget.MaterialComponents.CardView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/tab_tray_grid_item_thumbnail_height"
|
android:layout_height="@dimen/tab_tray_grid_item_thumbnail_height"
|
||||||
android:backgroundTint="?tabTrayThumbnailItemBackground"
|
android:backgroundTint="?tabTrayThumbnailItemBackground"
|
||||||
|
Loading…
Reference in New Issue
Block a user