From 2ac5563a13adc1e80d8c1966a7890ef92355edd8 Mon Sep 17 00:00:00 2001 From: LooKeR Date: Sat, 30 Oct 2021 14:21:59 +0530 Subject: [PATCH] Improve: Card Theme simplification --- src/main/res/layout/product_item.xml | 5 +---- src/main/res/layout/release_info.xml | 5 +---- src/main/res/values/styles.xml | 6 ++++++ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/res/layout/product_item.xml b/src/main/res/layout/product_item.xml index beddc3c2..d5009618 100644 --- a/src/main/res/layout/product_item.xml +++ b/src/main/res/layout/product_item.xml @@ -4,10 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="72dp" - app:cardBackgroundColor="?android:attr/colorBackground" - app:cardCornerRadius="@dimen/shape_large_corner" - app:cardElevation="0dp" - app:strokeWidth="0dp"> + style="?attr/materialCardViewFilledStyle"> + style="?attr/materialCardViewElevatedStyle"> @style/Theme.AppBarLayout @style/Theme.CollapsingToolbar @style/Theme.Toolbar + @style/Theme.Card + +